pytorch
af33c244 - [vulkan] Update allocation parameters for uniform buffers (#81636)

Commit
2 years ago
[vulkan] Update allocation parameters for uniform buffers (#81636) Update allocation parameters when allocating memory for uniform buffers. Allocation flags were updated when changing the VMA version to 3.0.1 but forgot to update these flags. This fixes an error on Mac with the complaint ``` Assertion failed: (IsMappingAllowed() && "Mapping is not allowed on this allocation! Please use one of the new VMA_ALLOCATION_CREATE_HOST_ACCESS_* flags when creating it."), function BlockAllocMap, file vk_mem_alloc.h, line 12139. ``` Differential Revision: [D37925152](https://our.internmc.facebook.com/intern/diff/D37925152/) Pull Request resolved: https://github.com/pytorch/pytorch/pull/81636 Approved by: https://github.com/psavla2
Author
Committer
Parents
Loading