mirror of
https://github.com/ollama/ollama.git
synced 2025-09-18 22:41:15 +02:00
Add compute capability 5.0, 7.5, and 8.0
This commit is contained in:
@@ -29,9 +29,8 @@ type handles struct {
|
||||
var gpuMutex sync.Mutex
|
||||
var gpuHandles *handles = nil
|
||||
|
||||
// With our current CUDA compile flags, older than 5.2 will not work properly
|
||||
// 5.0: CUDA error: no kernel image is available for execution on the device
|
||||
var CudaComputeMin = [2]C.int{5, 2}
|
||||
// With our current CUDA compile flags, older than 5.0 will not work properly
|
||||
var CudaComputeMin = [2]C.int{5, 0}
|
||||
|
||||
// Possible locations for the nvidia-ml library
|
||||
var CudaLinuxGlobs = []string{
|
||||
|
Reference in New Issue
Block a user