cuda.memory: dependencies

db4
Joe Groff 2010-05-05 17:38:59 -07:00
parent 1d916246b0
commit ae37cc730b
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.data alien.destructors assocs
byte-arrays cuda.ffi cuda.utils destructors fry io.encodings.string
io.encodings.utf8 kernel locals namespaces sequences strings ;
io.encodings.utf8 kernel locals math namespaces sequences strings ;
QUALIFIED-WITH: alien.c-types c
IN: cuda.memory
@ -12,7 +12,7 @@ IN: cuda.memory
c:*int ; inline
: cuda-malloc-type ( n type -- ptr )
heap-size * cuda-malloc ; inline
c:heap-size * cuda-malloc ; inline
: cuda-free ( ptr -- )
cuMemFree cuda-error ; inline