Check ifWebGPURenderingContextand related component is supported or not.RUN
WebGPURenderingContext
Dispatch the simplest kernel likekernel void noop(){}with grid size(1, 1, 1)and threadgroup size(1, 1, 1)RUN
kernel void noop(){}
(1, 1, 1)
Dispatch the simplest kernel likekernel void noop(){}with grid size(1, 1, 1)and threadgroup size(8, 1, 1)RUN
(8, 1, 1)
Dispatch the simplest kernel likekernel void noop(){}with grid size(1, 1, 1)and threadgroup size(8, 8, 1)RUN
(8, 8, 1)
Dispatch the simplest kernel likekernel void noop(){}with grid size(1, 1, 1)and threadgroup size(8, 8, 8)RUN
(8, 8, 8)
Dispatch the simplest kernel likekernel void noop(){}with grid size(8, 1, 1)and threadgroup size(1024, 1, 1)RUN
(1024, 1, 1)
Dispatch a Kernel which copy a device memory to another device memoryRUN
Dispatch a Kernel which use argument qualifiersRUN
Dispatch a Kernel which usethreadgroup_barrierto sync all threads in threadgroupRUN
threadgroup_barrier