Skip to content

Conversation

@paras-nv
Copy link

Applied CPREC() wrapper to all floating point literals in ratx.cl, ratxb.cl and ratt.cl files where they were previously missing.

At some places, floating literals like 2.6e0 werent wraped with CPREC macro. By default, the convention is to handle these literals as type double. This can cause the computations to be carried out on double precision pipeline.

This fix ensures:

  • Proper precision handling in both single and double precision modes
  • Prevention of double precision pipeline usage for single precision test.
  • Prevention of unnecessary double-to-single precision conversions for single precision test

Applied CPREC() wrapper to all floating point literals in ratx.cl, ratxb.cl
and ratt.cl files where they were previously missing.

At some places, floating literals like 2.6e0 werent wraped with CPREC macro.
By default, the convention is to handle these literals as type double.
This can cause the computations to be carried out on double precision pipeline.

This fix ensures:
- Proper precision handling in both single and double precision modes
- Prevention of double precision pipeline usage for single precision test.
- Prevention of unnecessary double-to-single precision conversions for single precision test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant