Skip to content

Commit f0b5032

Browse files
authored
return zero for CL_DEVICE_DOUBLE_FP_CONFIG (#758)
Fix #757
1 parent 262c488 commit f0b5032

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/device.hpp

-6
Original file line numberDiff line numberDiff line change
@@ -558,12 +558,6 @@ struct cvk_device : public _cl_device_id,
558558
return CL_FP_ROUND_TO_NEAREST | CL_FP_INF_NAN | CL_FP_FMA;
559559
}
560560

561-
if ((fptype == CL_DEVICE_DOUBLE_FP_CONFIG) && supports_fp64()) {
562-
return CL_FP_ROUND_TO_NEAREST | CL_FP_ROUND_TO_ZERO |
563-
CL_FP_ROUND_TO_INF | CL_FP_INF_NAN | CL_FP_FMA |
564-
CL_FP_DENORM;
565-
}
566-
567561
return 0;
568562
}
569563

0 commit comments

Comments
 (0)