]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/cuda/memory/memory.factor
Remove <uint> *uint and friends. Hopefully remove the last usages of these words
[factor.git] / extra / cuda / memory / memory.factor
index f3c452093a7ea044e2e2d6e732c82406698bd527..41a1cac7ff60dfea40ca7c9700781ba184f4d208 100644 (file)
@@ -10,7 +10,7 @@ IN: cuda.memory
 : cuda-malloc ( n -- ptr )
     [ CUdeviceptr <c-object> ] dip
     '[ _ cuMemAlloc cuda-error ] keep
-    c:*int ; inline
+    c:int c:deref ; inline
 
 : cuda-malloc-type ( n type -- ptr )
     c:heap-size * cuda-malloc ; inline