aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJose M Monsalve Diaz <jmonsalvediaz@anl.gov>2022-06-22 10:05:34 -0500
committerJose M Monsalve Diaz <jmonsalvediaz@anl.gov>2022-06-29 02:18:21 -0500
commit616dd9ae143172472bde793683d6e4df79554ac8 (patch)
treeefbc95200d02f623cdbf178768a1f5f7fcbdd546 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentcbeca742a4e6a8d713e6a825bb8f475e5b80821e (diff)
downloadllvm-616dd9ae143172472bde793683d6e4df79554ac8.zip
llvm-616dd9ae143172472bde793683d6e4df79554ac8.tar.gz
llvm-616dd9ae143172472bde793683d6e4df79554ac8.tar.bz2
[OpenMP] Implementing omp_get_device_num()
This patch implements omp_get_device_num() in the host and the device. It uses the already existing getDeviceNum in the device config for the device. And in the host it uses the omp_get_num_devices(). Two simple tests added Differential Revision: https://reviews.llvm.org/D128347
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions