Merge pull request #1874 from dhiltgen/correct_cuda_min

Set corret CUDA minimum compute capability version
This commit is contained in:
Daniel Hiltgen 2024-01-09 11:37:22 -08:00 committed by GitHub
commit e89dc1d54b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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