Skip to content

Commit 1758eaf

Browse files
authored
[SYCL] Drop undesired fp64 aspect requirement. (#16690)
By using `4.0` instead of `4.0f`, we're using a `double`, implicitly requiring support for `aspect::fp64`. We don't really require it.
1 parent 38e6e1b commit 1758eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/ProgramManager/multi_device_bundle/device_libs_and_caching.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ int main() {
5757

5858
auto res = sycl::malloc_host<int>(3, ctx);
5959
auto KernelLambda = [=]() {
60-
res[0] = sycl::ext::intel::math::float2int_rd(4.0) + (int)sqrtf(4.0f) +
60+
res[0] = sycl::ext::intel::math::float2int_rd(4.0f) + (int)sqrtf(4.0f) +
6161
std::exp(std::complex<float>(0.f, 0.f)).real();
6262
};
6363
// Test case 1

0 commit comments

Comments
 (0)