[libc-commits] [libc] [libc] Change the starting port index to use the SMID (PR #79200)
via libc-commits
libc-commits at lists.llvm.org
Tue Jan 23 12:11:36 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 03d362db7463f3451692fa6a80204b35dfe95037 bcd97c51b2a8ca1563d27472cd1c8778436ac56c -- libc/src/__support/GPU/amdgpu/utils.h libc/src/__support/GPU/generic/utils.h libc/src/__support/GPU/nvptx/utils.h libc/src/__support/RPC/rpc.h libc/utils/gpu/server/rpc_server.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/libc/src/__support/GPU/amdgpu/utils.h b/libc/src/__support/GPU/amdgpu/utils.h
index 174707b2a0..96e3efccb3 100644
--- a/libc/src/__support/GPU/amdgpu/utils.h
+++ b/libc/src/__support/GPU/amdgpu/utils.h
@@ -180,8 +180,8 @@ LIBC_INLINE uint64_t fixed_frequency_clock() {
[[noreturn]] LIBC_INLINE void end_program() { __builtin_amdgcn_endpgm(); }
/// Returns a unique identifier for the process cluster the current wavefront is
-/// executing on. Here we use the identifier for the compute unit (CU) and shader
-/// engine.
+/// executing on. Here we use the identifier for the compute unit (CU) and
+/// shader engine.
/// FIXME: Currently unimplemented on AMDGPU until we have a simpler interface
/// than the one at
/// https://github.com/ROCm/clr/blob/develop/hipamd/include/hip/amd_detail/amd_device_functions.h#L899
``````````
</details>
https://github.com/llvm/llvm-project/pull/79200
More information about the libc-commits
mailing list