Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
e89dc1d5
Unverified
Commit
e89dc1d5
authored
Jan 09, 2024
by
Daniel Hiltgen
Committed by
GitHub
Jan 09, 2024
Browse files
Merge pull request #1874 from dhiltgen/correct_cuda_min
Set corret CUDA minimum compute capability version
parents
8a8c7e7f
1961a81f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gpu/gpu.go
gpu/gpu.go
+2
-2
No files found.
gpu/gpu.go
View file @
e89dc1d5
...
@@ -26,8 +26,8 @@ type handles struct {
...
@@ -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
c
o
rre
c
t
min version
//
With our
c
u
rre
n
t
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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment