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

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 03:24:48 PDT 2026


================
@@ -0,0 +1,263 @@
+#include "Fixtures.hpp"
+#include "OffloadAPI.h"
+
+// Properties are grouped by the data type that stores the information. As
+// queries for selected properties might have different results for either the
+// device or the host, or might be even unsupported for the host, some of the
+// tests verify only whether the function that queried the host returned success
----------------
blazej-smorawski wrote:

I dont understand the sentence `some of the tests verify only whether the function that queried the host returned success` - who is queried? Are those queries checking some param of CPU or GPU?

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


More information about the llvm-commits mailing list