[llvm] [offload] add parameterized unit tests (PR #209115)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 06:03:54 PDT 2026
================
@@ -6,258 +6,120 @@
//
//===----------------------------------------------------------------------===//
-#include "../common/Fixtures.hpp"
+#include "../common/Properties.hpp"
#include <OffloadAPI.h>
#include <gtest/gtest.h>
-using olGetDeviceInfoTest = OffloadDeviceTest;
-OFFLOAD_TESTS_INSTANTIATE_DEVICE_FIXTURE(olGetDeviceInfoTest);
+DeviceInfoProperties JustSupportedProperties = mergeProperties(
+ {BoolProperties,
+ {propertiesTypes.at(OL_DEVICE_INFO_HALF_FP_CONFIG),
----------------
EuphoricThinking wrote:
I have reused the containers as described in the comment, removed propertiesTypes map and changed names to IrrelevantForHost.
https://github.com/llvm/llvm-project/pull/209115
More information about the llvm-commits
mailing list