We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6324b40 commit 15c551dCopy full SHA for 15c551d
Libraries/oneMKL/binomial/src/binomial_sycl.cpp
@@ -14,6 +14,9 @@ constexpr int wg_size = 128;
14
15
sycl::queue* binomial_queue;
16
17
+template<typename Type>
18
+class k_binomial; // can be useful for profiling
19
+
20
template<typename DATA_TYPE>
21
Binomial<DATA_TYPE>::Binomial() {
22
binomial_queue = new sycl::queue;
@@ -71,7 +74,7 @@ void Binomial<DATA_TYPE>::body() {
71
74
binomial_queue->submit([&](sycl::handler& h) {
72
75
sycl::local_accessor<DATA_TYPE> slm_call{wg_size + 1, h};
73
76
- h.parallel_for(
77
+ h.parallel_for<k_binomial<DATA_TYPE>>(
78
sycl::nd_range(sycl::range<1>(opt_n * wg_size),
79
sycl::range<1>(wg_size)),
80
[=](sycl::nd_item<1> item)
0 commit comments