Skip to content

Commit

Permalink
return zero for CL_DEVICE_DOUBLE_FP_CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
rjodinchr committed Jan 22, 2025
1 parent a91d6a8 commit ef0a09a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,12 +558,6 @@ struct cvk_device : public _cl_device_id,
return CL_FP_ROUND_TO_NEAREST | CL_FP_INF_NAN | CL_FP_FMA;
}

if ((fptype == CL_DEVICE_DOUBLE_FP_CONFIG) && supports_fp64()) {
return CL_FP_ROUND_TO_NEAREST | CL_FP_ROUND_TO_ZERO |
CL_FP_ROUND_TO_INF | CL_FP_INF_NAN | CL_FP_FMA |
CL_FP_DENORM;
}

return 0;
}

Expand Down

0 comments on commit ef0a09a

Please sign in to comment.