From eb3c6f414b6e955f54946c4fd885bf9330855869 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sun, 18 Apr 2010 20:52:09 -0500 Subject: [PATCH] Fix the ptx path in cuda demo --- extra/cuda/demos/hello-world/hello-world.factor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extra/cuda/demos/hello-world/hello-world.factor b/extra/cuda/demos/hello-world/hello-world.factor index 6a598dda44..540c4b9148 100644 --- a/extra/cuda/demos/hello-world/hello-world.factor +++ b/extra/cuda/demos/hello-world/hello-world.factor @@ -2,16 +2,16 @@ ! See http://factorcode.org/license.txt for BSD license. USING: alien.c-types alien.strings cuda cuda.syntax destructors io.encodings.utf8 kernel locals math prettyprint sequences ; -IN: cuda.hello-world +IN: cuda.demos.hello-world -CUDA-LIBRARY: hello vocab:cuda/hello.ptx +CUDA-LIBRARY: hello vocab:cuda/demos/hello-world/hello.ptx CUDA-FUNCTION: helloWorld ( char* string-ptr ) ; :: cuda-hello-world ( -- ) T{ launcher { device 0 } - { path "vocab:cuda/hello.ptx" } + { path "vocab:cuda/demos/hello-world/hello.ptx" } } [ "Hello World!" [ - ] map-index malloc-device-string &dispose dup :> str