[PATCH] D106343: [OpenCL] Support cl_ext_float_atomics

Yang Haonan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 26 06:36:01 PDT 2021


haonanya added a comment.

Hi, svenvh.
Should we use cl_khr_int64_base_atomics and cl_khr_int64_extended_atomics to guard  the functions using atomic_double type?
Thanks very much.

  #if defined(__opencl_c_ext_fp64_local_atomic_min_max)
  double __ovld atomic_fetch_min(volatile __local atomic_double *object,
                                 double operand);
  #endif




CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106343/new/

https://reviews.llvm.org/D106343



More information about the cfe-commits mailing list