[libclc] libclc: Implement get_enqueued_local_size (PR #184842)
Wenju He via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 5 14:55:02 PST 2026
================
@@ -0,0 +1,14 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "clc/workitem/clc_get_enqueued_local_size.h"
+#include "clc/workitem/clc_get_local_size.h"
+
+_CLC_OVERLOAD _CLC_DEF size_t __clc_get_enqueued_local_size(uint dim) {
+ return __clc_get_local_size(dim);
----------------
wenju-he wrote:
for my education, get_local_size is the same as get_enqueued_local_size on AMDGPU?
https://github.com/llvm/llvm-project/pull/184842
More information about the cfe-commits
mailing list