Skip to content

Commit 9718192

Browse files
[SYCL][E2E] Use float instead of double in Regression/commandlist/gpu.cpp (#10617)
And re-enable it (was disabled during transition to GEN12 runners).
1 parent 11f7bc6 commit 9718192

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

sycl/test-e2e/Regression/commandlist/Inputs/FindPrimesSYCL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ float find_prime_s(work *w) {
5151
if (number < N) {
5252
for (size_t i = 0; i < niter; ++i) {
5353
bool is_prime = !(number % 2 == 0);
54-
const int upper_bound = sycl::sqrt(1.0 * number) + 1;
54+
const int upper_bound = sycl::sqrt(1.0f * number) + 1;
5555
int k = 3;
5656
while (k < upper_bound && is_prime) {
5757
is_prime = !(number % k == 0);

sycl/test-e2e/Regression/commandlist/gpu.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// https://github.com/intel/llvm/issues/10369
2-
// UNSUPPORTED: gpu
3-
//
41
// REQUIRES: gpu, linux
52

63
// UNSUPPORTED: ze_debug

0 commit comments

Comments
 (0)