[llvm] [OpenMP] Adds omp_target_is_accessible routine (PR #138294)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 07:36:07 PDT 2025
================
@@ -281,3 +281,7 @@ bool DeviceTy::useAutoZeroCopy() {
return false;
return RTL->use_auto_zero_copy(RTLDeviceID);
}
+
+bool DeviceTy::supportsUnifiedMemory() {
+ return RTL->supports_unified_memory(RTLDeviceID);
+}
----------------
shiltian wrote:
missing empty line at EoF
https://github.com/llvm/llvm-project/pull/138294
More information about the llvm-commits
mailing list