Skip to content

Commit 1db79a9

Browse files
authored
examples: cute: tutorial: use default queue in xe_gemm (#566)
The sycl exception will appear when running `xe_gemm` example with `CUTLASS_SYCL_PROFILING_ENABLED=ON` on BMG, now we make this example use default queue to resolve the issue, which sets property `enable_profiling` by default. ```cpp ./examples/cute/tutorial/cute_tutorial_xe_gemm --m 1024 --n 1024 --k 1024 tf32 (R) x tf32 (R) -> float: terminate called after throwing an instance of 'sycl::_V1::exception' what(): Profiling information is unavailable as the queue associated with the event does not have the 'enable_profiling' property. Aborted (core dumped) ```
1 parent 7d7b689 commit 1db79a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cute/tutorial/xe_gemm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ int main(int argc, char** argv)
391391
auto n = parse_size();
392392
auto k = parse_size();
393393

394-
sycl::queue Q;
394+
sycl::queue Q = compat::get_default_queue();
395395

396396
// Native compute
397397
test_case<tfloat32_t, tfloat32_t, float, 'R', 'R'>(Q, m, n, k);

0 commit comments

Comments
 (0)