MCPcopy Create free account
hub / github.com/bitsandbytes-foundation/bitsandbytes / sycl_comp_kernel_submit

Function sycl_comp_kernel_submit

csrc/xpu_ops.h:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22template <typename ker_t, int dim, int subgroup_size>
23static inline void sycl_comp_kernel_submit(sycl::nd_range<dim> range, sycl::queue q, ker_t ker) {
24 auto cgf = [&](::sycl::handler& cgh) [[sycl::reqd_sub_group_size(subgroup_size)]] {
25 ker.sycl_ker_local_memory_creation(cgh);
26 cgh.parallel_for<ker_t>(range, ker);
27 };
28 q.submit(cgf);
29}
30
31template <typename T, int DATA_TYPE>
32void dequantizeBlockwise(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected