"platforms/cuda/src/CudaIntegrationUtilities.cpp" did not exist on "ecbbf44231dbea4f1068273119f5b7e25ec5162b"
Commit 5c2569b0 authored by Peter Eastman's avatar Peter Eastman
Browse files

On Windows, an incorrect flag was being passed to nvcc

parent 49118236
......@@ -367,7 +367,7 @@ CUmodule CudaContext::createModule(const string source, const map<string, string
out << src.str();
out.close();
#ifdef WIN32
string command = ""+compiler+" --ptx --machine 32 -arch=compute_"+gpuArchitecture+" -o "+outputFile+" "+options+" "+inputFile+" 2> "+logFile;
string command = ""+compiler+" --ptx --machine 32 -arch=sm_"+gpuArchitecture+" -o "+outputFile+" "+options+" "+inputFile+" 2> "+logFile;
#else
string command = "\""+compiler+"\" --ptx -arch=sm_"+gpuArchitecture+" -o \""+outputFile+"\" "+options+" \""+inputFile+"\" 2> \""+logFile+"\"";
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment