Skip to content

Commit d781765

Browse files
s-Nickqnixsynapse
authored andcommitted
sycl: add usage of enqueue_functions extension (ggml-org#14244)
* Add header and namespace to use enqueue_functions extension * Convert submit and parallel_for to use new extension in convert.cpp * Convert submit and parallel_for to use extension in ggml-sycl.cpp * Convert submit and parallel_for to use extension in gla.cpp * Convert submit and parallel_for in mmq.cpp * Convert submit and parallel_for in mmvq.cpp * Convert submit and parallel_for in remaining files * Convert all simple parallel_for to nd_launch from enqueue_functions extension * Wrapping extension in general function Create a general function that enable the enqueue_functions extension if it is enable in the compiler, otherwise call the general SYCL function to launch kernels. --------- Signed-off-by: nscipione <[email protected]>
1 parent 53085f2 commit d781765

File tree

3 files changed

+1273
-1018
lines changed

3 files changed

+1273
-1018
lines changed

0 commit comments

Comments
 (0)