[llvm] [offload] add parameterized unit tests (PR #209115)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 00:49:49 PDT 2026


================
@@ -0,0 +1,263 @@
+#pragma once
+
+#include "Fixtures.hpp"
+#include "OffloadAPI.h"
+
+inline constexpr size_t MAX_DEVICE_INFO_BYTES = 8;
+
+inline constexpr char zeroArray[MAX_DEVICE_INFO_BYTES] = {};
+
+template <typename T> struct SizedProperty {
+  size_t size;
+  T property;
+};
----------------
EuphoricThinking wrote:

Let me know if you still see anything concerning:)

https://github.com/llvm/llvm-project/pull/209115


More information about the llvm-commits mailing list