瀏覽代碼

Merge pull request #1874 from dhiltgen/correct_cuda_min

Set corret CUDA minimum compute capability version
Daniel Hiltgen 1 年之前
父節點
當前提交
e89dc1d54b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gpu/gpu.go

+ 2 - 2
gpu/gpu.go

@@ -26,8 +26,8 @@ type handles struct {
 var gpuMutex sync.Mutex
 var gpuHandles *handles = nil
 
-// TODO verify this is the correct min version
-const CudaComputeMajorMin = 5
+// With our current CUDA compile flags, 5.2 and older will not work properly
+const CudaComputeMajorMin = 6
 
 // Note: gpuMutex must already be held
 func initGPUHandles() {