]> gitweb.factorcode.org Git - factor.git/blob - extra/cuda/cuda-tests.factor
Fixes unused variable warning
[factor.git] / extra / cuda / cuda-tests.factor
1 ! Copyright (C) 2010 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: cuda kernel tools.test ;
4 IN: cuda.tests
5
6 ! [ ] [ [ 0 0 [ drop ] with-cuda-context ] with-cuda ] unit-test
7 ! [ ] [ 100 cuda-malloc cuda-free ] unit-test