[llvm] [Offload] Implement the remaining initial Offload API (PR #122106)
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 08:06:36 PST 2025
================
@@ -439,3 +439,916 @@ ol_result_t olGetDeviceInfoSizeWithCodeLoc(ol_device_handle_t Device,
currentCodeLocation() = nullptr;
return Result;
}
+
+///////////////////////////////////////////////////////////////////////////////
+ol_impl_result_t olMemAlloc_val(ol_device_handle_t Device, ol_alloc_type_t Type,
+ size_t Size, void **AllocationOut) {
+ if (true /*enableParameterValidation*/) {
----------------
jdoerfert wrote:
^^^
https://github.com/llvm/llvm-project/pull/122106
More information about the llvm-commits
mailing list