Unverified Commit 36198f93 authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Fixed minimum CUDA version for querying supported architectures (#3036)

parent 483239ef
...@@ -51,8 +51,8 @@ static string getErrorString(nvrtcResult result) { ...@@ -51,8 +51,8 @@ static string getErrorString(nvrtcResult result) {
CudaRuntimeCompilerKernel::CudaRuntimeCompilerKernel(const std::string& name, const Platform& platform) : CudaCompilerKernel(name, platform) { CudaRuntimeCompilerKernel::CudaRuntimeCompilerKernel(const std::string& name, const Platform& platform) : CudaCompilerKernel(name, platform) {
// Find the maximum architecture the compiler supports. // Find the maximum architecture the compiler supports.
#if CUDA_VERSION < 11000 #if CUDA_VERSION < 11020
// CUDA versions before 11 can't query the compiler to see what it supports. // CUDA versions before 11.2 can't query the compiler to see what it supports.
maxSupportedArchitecture = 75; maxSupportedArchitecture = 75;
#else #else
......
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