[all-commits] [llvm/llvm-project] 11cc82: [Clang] Implement resource directory headers for c...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Nov 11 10:10:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11cc826c0a5802b03c85aa271b6fd16214f8f4d8
https://github.com/llvm/llvm-project/commit/11cc826c0a5802b03c85aa271b6fd16214f8f4d8
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-11-11 (Mon, 11 Nov 2024)
Changed paths:
M clang/lib/Headers/CMakeLists.txt
A clang/lib/Headers/amdgpuintrin.h
A clang/lib/Headers/gpuintrin.h
A clang/lib/Headers/nvptxintrin.h
A clang/test/Headers/gpuintrin.c
A clang/test/Headers/gpuintrin_lang.c
Log Message:
-----------
[Clang] Implement resource directory headers for common GPU intrinsics (#110179)
Summary:
All GPU based languages provide some way to access things like the
thread ID or other resources. However, this is spread between many
different languages and it varies between targets. The goal here is to
provide a resource directory header that just provides these in an
easier to understand way, primarily so this can be used for C/C++ code.
The interface aims to be common, to faciliate easier porting, but target
specific stuff could be put in the individual headers.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list