diff --git a/backends/vulkan/runtime/graph/ops/ExecuteNode.h b/backends/vulkan/runtime/graph/ops/ExecuteNode.h index dece9ddb50d..92efda30229 100644 --- a/backends/vulkan/runtime/graph/ops/ExecuteNode.h +++ b/backends/vulkan/runtime/graph/ops/ExecuteNode.h @@ -21,16 +21,16 @@ class ComputeGraph; * access permission. */ struct ArgGroup { - ArgGroup(const ValueRef ref, const vkapi::MemoryAccessType access) + ArgGroup(const ValueRef ref, const vkapi::MemoryAccessFlags access) : refs{ref}, access(access) {} ArgGroup( const std::vector& refs, - const vkapi::MemoryAccessType access) + const vkapi::MemoryAccessFlags access) : refs(refs), access(access) {} const std::vector refs; - const vkapi::MemoryAccessType access; + const vkapi::MemoryAccessFlags access; }; /* diff --git a/backends/vulkan/runtime/graph/ops/utils/BindingUtils.cpp b/backends/vulkan/runtime/graph/ops/utils/BindingUtils.cpp index 2cfb34a052e..b3a72e27c43 100644 --- a/backends/vulkan/runtime/graph/ops/utils/BindingUtils.cpp +++ b/backends/vulkan/runtime/graph/ops/utils/BindingUtils.cpp @@ -13,7 +13,7 @@ namespace vkcompute { void bind_tensor_to_descriptor_set( api::vTensor& tensor, vkapi::PipelineBarrier& pipeline_barrier, - const vkapi::MemoryAccessType accessType, + const vkapi::MemoryAccessFlags accessType, vkapi::DescriptorSet& descriptor_set, const uint32_t idx) { if (tensor.buffer()) { diff --git a/backends/vulkan/runtime/graph/ops/utils/BindingUtils.h b/backends/vulkan/runtime/graph/ops/utils/BindingUtils.h index eed39a97979..671a18f7e91 100644 --- a/backends/vulkan/runtime/graph/ops/utils/BindingUtils.h +++ b/backends/vulkan/runtime/graph/ops/utils/BindingUtils.h @@ -19,7 +19,7 @@ namespace vkcompute { void bind_tensor_to_descriptor_set( api::vTensor& tensor, vkapi::PipelineBarrier& pipeline_barrier, - const vkapi::MemoryAccessType accessType, + const vkapi::MemoryAccessFlags accessType, vkapi::DescriptorSet& descriptor_set, const uint32_t idx);