/extra/cuda/cuda-tests.factor

http://github.com/abeaumont/factor · Factor · 7 lines · 2 code · 1 blank · 4 comment · 0 complexity · b75d9e4029ac21184da9876d541ca3c8 MD5 · raw file

  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. ! [ ] [ [ 0 0 [ drop ] with-cuda-context ] with-cuda ] unit-test
  6. ! [ ] [ 100 cuda-malloc cuda-free ] unit-test