Closed andfau-amd closed 5 days ago
Preliminary analysis suggests the iree_gpu
dialect isn't getting registered prior to this attribute being used.
@ScottTodd pointed me towards this: https://github.com/iree-org/iree/blob/1f69b857fffb2367682b436684cd9868329cd109/compiler/plugins/target/VulkanSPIRV/VulkanSPIRVTarget.cpp#L127-L130
It seems that the dialect isn't registered by this Vulkan SPIR-V target-specific code, but it is by ROCm's:
So, essentially, this is a bug that only affects builds which don't enable all the backends.
Adding IREEGPUDialect
to the Vulkan list fixes the build for me.
What happened?
Steps to reproduce your issue
Ubuntu 22.04.4 LTS (WSL2, Windows 11)
This is a fresh build, but CCache is in use, so it's not impossible that something in the cache is stale?
What component(s) does this issue relate to?
No response
Version information
Additional context
No response