diff --git a/examples/vcl_opencl_basic/main.v b/examples/vcl_opencl_basic/main.v index 26830fe5a..1df68e384 100644 --- a/examples/vcl_opencl_basic/main.v +++ b/examples/vcl_opencl_basic/main.v @@ -35,7 +35,8 @@ fn main() { panic(err) } println('\n\nCreated vector: ${v}') - println(v.data()!) + vector_data := v.data()! + println('\n\nVector data: ${vector_data}') // add program source to device, get kernel device.add_program(kernel_source)!