[Mlir-commits] [mlir] [mlir][spirv] Add mgpu* wrappers for Vulkan runtime, migrate some tests (PR #123114)
Jakub Kuderski
llvmlistbot at llvm.org
Thu Jan 16 07:24:23 PST 2025
================
@@ -26,6 +28,37 @@
namespace {
+class VulkanModule;
+
+// Class to be a thing that can be returned from `mgpuModuleGetFunction`.
+struct VulkanFunction {
+ VulkanModule *module;
+ std::string name;
+
+ VulkanFunction(VulkanModule *module, const char *name)
----------------
kuhar wrote:
Should we assert that module is not `nullptr`?
https://github.com/llvm/llvm-project/pull/123114
More information about the Mlir-commits
mailing list