Commit 02c24688 authored by Stuart Adams's avatar Stuart Adams Committed by Artem Belevich
Browse files

[Clang][NVPTX] Add NVPTX intrinsics and builtins for CUDA PTX cp.async instructions

Adds NVPTX builtins and intrinsics for the CUDA PTX `cp.async` instructions for
`sm_80` architecture or newer.

PTX ISA description of `cp.async`:
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#data-movement-and-conversion-instructions-asynchronous-copy
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-cp-async-mbarrier-arrive



Authored-by: default avatarStuart Adams <stuart.adams@codeplay.com>
Co-Authored-by: default avatarAlexander Johnston <alexander@codeplay.com>

Differential Revision: https://reviews.llvm.org/D100394
parent 1417ddaf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment