enum CGOpenMPRuntimeGPU::DataSharingMode
Description
Target codegen is specialized based on two data-sharing modes: CUDA, in which the local variables are actually global threadlocal, and Generic, in which the local variables are placed in global memory if they may escape their declaration context.
Declared at: clang/lib/CodeGen/CGOpenMPRuntimeGPU.h:347
Enumerators
Name | Value | Comment |
---|---|---|
CUDA | 0 | CUDA data sharing mode. |
Generic | 1 | Generic data-sharing mode. |