@@ -297,9 +297,7 @@ TEST_P(TestDPCTLSyclDeviceInterface, ChkGetPreferredVectorWidthDouble)
297
297
EXPECT_TRUE (vector_width_double != 0 );
298
298
}
299
299
else {
300
- // FIXME: DPC++ 2023 RT must have a bug, since it returns 1 for
301
- // devices without aspect::fp64
302
- // EXPECT_TRUE(vector_width_double == 0);
300
+ EXPECT_TRUE (vector_width_double == 0 );
303
301
}
304
302
}
305
303
@@ -311,7 +309,9 @@ TEST_P(TestDPCTLSyclDeviceInterface, ChkGetPreferredVectorWidthHalf)
311
309
if (DPCTLDevice_HasAspect (DRef, DPCTL_SyclAspectToDPCTLAspectType (
312
310
DPCTL_StrToAspectType (" fp16" ))))
313
311
{
314
- EXPECT_TRUE (vector_width_half != 0 );
312
+ // FIXME: zero value incorrectly returned for CPU in 2024.1,
313
+ // even though aspect::fp16 is true
314
+ EXPECT_TRUE (vector_width_half != 0 || DPCTLDevice_IsCPU (DRef));
315
315
}
316
316
else {
317
317
EXPECT_TRUE (vector_width_half == 0 );
@@ -384,13 +384,14 @@ TEST_P(TestDPCTLSyclDeviceInterface, ChkGetNativeVectorWidthHalf)
384
384
if (DPCTLDevice_HasAspect (DRef, DPCTL_SyclAspectToDPCTLAspectType (
385
385
DPCTL_StrToAspectType (" fp16" ))))
386
386
{
387
- EXPECT_TRUE (vector_width_half != 0 );
387
+ // FIXME: zero value incorrectly returned for CPU in 2024.1,
388
+ // even though aspect::fp16 is true
389
+ EXPECT_TRUE (vector_width_half != 0 || DPCTLDevice_IsCPU (DRef));
388
390
}
389
391
else {
390
392
EXPECT_TRUE (vector_width_half == 0 );
391
393
}
392
394
}
393
- //
394
395
395
396
TEST_P (TestDPCTLSyclDeviceInterface, ChkGetMaxReadImageArgs)
396
397
{
0 commit comments