Skip to content

Conversation

@haonanya
Copy link

  1. Use cl_khr_int64_base_atomics and cl_khr_int64_extended_atomics to guard
    the functions using atomic_double type
  2. Add tests to check if fp-typed atomic_init, atomic_store, atomic_load and
    atomic_exchange are translated properly

Signed-off-by: Haonan Yang haonan.yang@intel.com

1. Use cl_khr_int64_base_atomics and cl_khr_int64_extended_atomics to guard
the functions using atomic_double type
2. Add tests to check if fp-typed atomic_init, atomic_store, atomic_load and
atomic_exchange are translated properly

Signed-off-by: Haonan Yang <haonan.yang@intel.com>
@haonanya
Copy link
Author

Run clang test, llvm-spirv test and opencl-clang test locally, there are no new failures.

@haonanya haonanya requested review from cdai2, fzou1 and wenju-he August 27, 2021 03:19
Copy link
Contributor

@wenju-he wenju-he left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@haonanya haonanya merged commit 9a6acc3 into intel:ocl-open-100 Aug 30, 2021
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.

3 participants