]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/cuda/cuda.factor
Remove <uint> *uint and friends. Hopefully remove the last usages of these words
[factor.git] / extra / cuda / cuda.factor
index 2e2cdd660f0768c179dd9ca5180336b85cae18cb..566622eb029e0dee065983dcbbd0c2b45e7c800c 100644 (file)
@@ -16,7 +16,7 @@ TUPLE: cuda-error code ;
     dup CUDA_SUCCESS = [ drop ] [ \ cuda-error boa throw ] if ;
 
 : cuda-version ( -- n )
-    c:int <c-object> [ cuDriverGetVersion cuda-error ] keep c:*int ;
+    c:int <c-object> [ cuDriverGetVersion cuda-error ] keep c:int c:deref ;
 
 : init-cuda ( -- )
     0 cuInit cuda-error ; inline