diff --git a/extra/cuda/demos/hello-world/hello-world.factor b/extra/cuda/demos/hello-world/hello-world.factor index ef410df80b..980f7ba179 100644 --- a/extra/cuda/demos/hello-world/hello-world.factor +++ b/extra/cuda/demos/hello-world/hello-world.factor @@ -16,8 +16,7 @@ CUDA-FUNCTION: helloWorld ( char* string-ptr ) [ context-device number>string "CUDA device " ": " surround write - "Hello World!" >byte-array [ - ] map-index host>device &cuda-free - + "Hello World!" utf8 encode [ - ] B{ } map-index-as host>device &cuda-free [ { 2 1 } { 6 1 1 } helloWorld ] [ 12 device>host >string print ] bi ] with-destructors