Skip to content

Commit 429a6dc

Browse files
committed
Support versions 331+, 64-bit only for now.
1 parent 9a0b1e5 commit 429a6dc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

nvml_fix.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ void fix_unsupported_bug(nvmlDevice_t device)
4545
fix[202] = 1;
4646
fix[203] = 1;
4747
# endif
48+
#elif defined(NVML_PATCH_331)
49+
# ifdef __i386__
50+
# error "No i386 support for this version yet!"
51+
# else
52+
fix[187] = 2;
53+
fix[188] = 1;
54+
# endif
4855
#else
4956
# error "No NVML_PATCH_* option specified!"
5057
#endif

0 commit comments

Comments
 (0)