computecpp-sdk icon indicating copy to clipboard operation
computecpp-sdk copied to clipboard

atomic add for double

Open mtxuhao opened this issue 3 years ago • 1 comments

now computecpp not support float&double atomic add , Will it be supported in the future.because float &double atomic op is common in hpc application

mtxuhao avatar Aug 02 '21 02:08 mtxuhao

Thanks for raising this question. ComputeCpp is implementing support for SYCL 2020 and part of this specification are float and double atomic support. So this will be implemented in ComputeCpp at some point in the future. The implementation of this support may depend on the hardware so in some cases it may be emulated. Do you have a specific hardware target in mind?

rodburns avatar Aug 02 '21 08:08 rodburns