Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9138325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:14:30+00:00 2026-06-17T09:14:30+00:00

I’ve added a reference to the CUDAfy.NET library via NuGet. <package id=CUDAfy.NET version=1.12.4695.21111 targetFramework=net45

  • 0

I’ve added a reference to the CUDAfy.NET library via NuGet.

<package id="CUDAfy.NET" version="1.12.4695.21111" targetFramework="net45" />

When I run my program, I hit a Win32Exception:

The system cannot find the file specified

This happens on the first actual line of the program:

CudafyModule km = CudafyTranslator.Cudafy();

There’s no indication from the exception object as to what file they’re attempting to load.

How can I get past this problem?

EDIT

I see the same exception when running the bundled examples from the Codeplex download in VS2010 using .NET 4.0.

The strack trace is:

at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at Cudafy.CudafyModule.Compile(eGPUCompiler mode, Boolean deleteGeneratedCode)
at Cudafy.Translator.CudafyTranslator.Cudafy(ePlatform platform, eArchitecture arch, Version cudaVersion, Boolean compile, Type[] types)
at Cudafy.Translator.CudafyTranslator.Cudafy(ePlatform platform, eArchitecture arch, Type[] types)
at Cudafy.Translator.CudafyTranslator.Cudafy()
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:14:31+00:00Added an answer on June 17, 2026 at 9:14 am

    Setting VS to break on thrown exceptions shows the ProcessStartInfo object at the top of the stack in the locals pane of the debugger.

    The relevant properties are:

    FileName = nvcc
    Arguments = -m64 -arch=sm_12 "c:\<path>\CUDAFYSOURCETEMP.cu" -o "c:\<path>\CUDAFYSOURCETEMP.ptx" --ptx
    

    Some information from this article explains that the CUDA Toolkit must be installed. Fair enough.

    Ensure that the C++ compiler (cl.exe) is on the search path. This set-up of NVCC is actually the toughest stage of the whole process, so please persevere. Read any errors you get carefully – most likely they are related to not finding cl.exe or not having either 32-bit or 64-bit CUDA Toolkit.

    That article discusses version 4 of the toolkit, but version 5 is available now and supported since CUDAfy v1.1.

    Download from https://developer.nvidia.com/cuda-downloads

    Note that the 64-bit version of the CUDA Toolkit 5.0 is a 942 MB download. If you install everything you’ll need an additional 2815 MB. The toolkit alone requires 928 MB.

    EDIT After installing the CUDA Toolkit 5.0, the program failed with a CudafyCompileException at the same source line:

    Compilation error: nvcc : fatal error : Cannot find compiler ‘cl.exe’ in PATH

    Searching my system drive:

    C:\>dir /s cl.exe
    

    This shows many different versions of the compiler/linker, both from VS 10.0 and 11.0. Apparently only cl.exe versions 9 and 10 are supported, so I opted for the VS10.0 amd64 version, I included the following in my PATH environment variable:

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64

    Your path may be different, depending upon your CPU. I recommend running the search to see your options.

    Note that you will have to restart VS after changing the PATH environment variable if you already have it open.

    After taking these steps, my basic program ran successfully.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
Let's say I'm outputting a post title and in our database, it's Hello Y&#8217;all
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am writing an app for my school newspaper, which is run completely online
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.