-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Labels
amberscriptWork related to AmberScriptWork related to AmberScriptenhancementNew feature or requestNew feature or request
Description
The run command can currently either draw or execute compute kernels. What changes need to be done to support opencl-c?
SHADER opencl-c my_kernel CLSPV
kernel void foo(global int4* in, global int4* out, int z) {
out[z] = in[z];
END
BUFFER in_buf TYPE int4 DATA
7 4 2 3
END
BUFFER out_buf TYPE int4 SIZE 1
PIPELINE my_pipeline
ATTACH my_kernel
BIND BUFFER foo OPENCL-C KERNEL in_buf ARG in
BIND BUFFER foo OPENCL-C KERNEL out_buf ARG out
END
RUN my_pipeline # Just this? Or something else?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
amberscriptWork related to AmberScriptWork related to AmberScriptenhancementNew feature or requestNew feature or request