"docs-source/usersguide/vscode:/vscode.git/clone" did not exist on "6c119bc2336a64acc6e333f5019ebdefadb03694"
Commit 7e2d6195 authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #1817 from peastman/volta

Preliminary support for Volta GPUs
parents 54ac9892 b83d49ac
......@@ -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