uVkCompute icon indicating copy to clipboard operation
uVkCompute copied to clipboard

A micro Vulkan compute pipeline and a collection of benchmarking compute shaders

Results 9 uVkCompute issues
Sort by recently updated
recently updated
newest added

`mad_throughput` crashed on Jetson Nano and throw `VK_ERROR_DEVICE_LOST`. This is call chain: ```shell mad_throughput_main.cc:189 ---> GetDeviceBufferViaStagingBuffer --> vulkan_buffer_util.cc:67 ----> QueueSubmitAndWait ---> crash ``` No `nullptr` or bad variable found. I...

* Support validation layer * Orginal implemention assign `create_info.ppEnabledExtensionNames` twice This PR not fully tested, **DO NOT MERGE**.

ninja: error: 'uvkc/benchmark/Vulkan::glslc', needed by 'uvkc/benchmark/void_shader_spirv_instance.inc', missing and no known rule to make it Any idea how to deal with this? Regards Yao

(not expecting a review yet, this is still a draft)

Hi, running on Nvidia 4070 I get: ``` uVkCompute/build/benchmarks/vmt ./vmt_rdna3 2023-11-07T17:08:45+01:00 Running ./vmt_rdna3 Run on (32 X 5881 MHz CPU s) CPU Caches: L1 Data 32 KiB (x16) L1 Instruction...

Related issue posted here: [Encountered VK_ERROR_INCOMPATIBLE_DRIVER](https://vulkan.lunarg.com/doc/sdk/1.3.239.0/mac/getting_started.html). Proposed fix: 1. Adds the `VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR` bit to the `VkInstanceCreateInfo` structure flags. 2. Adds `VK_KHR_portability_enumeration`, `VK_KHR_get_physical_device_properties2` to the instance extensions list.

Trying to build this on Ubuntu 24.04 with the latest 1.4.328.1 SDK, I am hitting into issues where `SPV_KHR_vulkan_memory_model` is being used, but it is not enforcing a vulkan1.1 env...

All the benchmarks use this expect compute and matmul, which fail to compile, complamning that SPIR-V 1.3 is required. If we dont' specity the target we use vulkan-1.0 which default...

A pointer to this variable is used in a call to `memory::RegisterCopyStorageBufferBenchmark()`. https://github.com/google/uVkCompute/blob/2e4c8e4c7f871aa5496518fd0ec746f5d80f6051/benchmarks/memory/copy_storage_buffer_main.cc#L41-L44 Since this is a local automatic variable, it goes out of scope and the pointer used to...