Skip to content

Commit d4978fd

Browse files
increase compute intensity of kern3 in the test
1 parent d18842d commit d4978fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dpctl/tests/test_sycl_kernel_submit.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ def test_async_submit():
135135
" global unsigned int *arg2)"
136136
"{"
137137
" size_t index = get_global_id(0);"
138+
" size_t i = 0; "
139+
" size_t unused_sum = 0;"
140+
" for (i = 0; i < 4000; i++) { "
141+
" unused_sum += i;"
142+
" } "
138143
" res[index] = "
139144
" (arg1[index] < arg2[index]) ? arg1[index] : arg2[index];"
140145
"}"

0 commit comments

Comments
 (0)