-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compiler] Implement 64-bit atomics.
* The mux device capabilities provide a way to indicate which widths are supported for atomic operations. Currently, atomic operations of 8, 16, or 32 bits are always presumed supported. Atomic operations of 64 bits are presumed supported on targets with 64-bit pointers. * The OpenCL extensions cl_khr_int64_base_atomics and cl_khr_int64_extended_atomics are implemented on targets that support 64-bit atomic operations. Note that despite the name, in accordance with the OpenCL specification, these extensions also cover atomic operations on type 'double' when that type is supported.
- Loading branch information
Showing
824 changed files
with
41,998 additions
and
6,918 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
721 changes: 721 additions & 0 deletions
721
modules/compiler/builtins/include/builtins/builtins-3.0.h
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.