Commit b83d49ac authored by Peter Eastman's avatar Peter Eastman
Browse files

Preliminary support for Volta GPUs

parent 54ac9892
......@@ -227,6 +227,12 @@ CudaContext::CudaContext(const System& system, int deviceIndex, bool useBlocking
minor = 3;
}
}
if (major == 7) {
// Don't generate Volta-specific code until we've made the changes needed
// to support it properly.
major = 6;
minor = 2;
}
gpuArchitecture = intToString(major)+intToString(minor);
computeCapability = major+0.1*minor;
......
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