Repository navigation
Closed
Labels
bug 🐞Something isn't workinghal/vulkanRuntime Vulkan GPU HAL backendplatform/windows 🚪Windows-specific build, execution, benchmarking, and deployment
Description
This sample isn't continuously tested, so it tends to break occasionally. Seeing a few (probably unrelated) issues.
Windows Bazel fails to build on my machine:
bazel version 2.1.0
bazel run iree/samples/vulkan:vulkan_inference_gui
...
ERROR: D:/dev/cache/iree_bazeluserroot/3mtfpusj/external/sdl2/BUILD.bazel:157:1: C++ compilation of rule '@sdl2//:SDL2' failed (Exit 2)
external/sdl2/src/sensor/SDL_sensor.c(45): error C2059: syntax error: '}'
external/sdl2/src/sensor/SDL_sensor.c(85): warning C4034: sizeof returns 0
external/sdl2/src/sensor/SDL_sensor.c(101): warning C4034: sizeof returns 0
external/sdl2/src/sensor/SDL_sensor.c(127): warning C4034: sizeof returns 0
external/sdl2/src/sensor/SDL_sensor.c(456): warning C4034: sizeof returns 0
external/sdl2/src/sensor/SDL_sensor.c(544): warning C4034: sizeof returns 0
Possibly related to compiler flag changes. Could try tweaking flags and/or updating the sdl2 submodule.
Windows CMake builds but crashes:
I D:\dev\projects\iree\iree\samples\vulkan\vulkan_inference_gui.cc:557] Creating Vulkan driver/device
I D:\dev\projects\iree\iree\hal\vulkan\api.cc:306] Creating VulkanDevice...
[vk_mem_alloc.h : 15777] RAW: vmaCreateAllocator
I D:\dev\projects\iree\iree\hal\vulkan\api.cc:316] Successfully created device 'GeForce RTX 2080 Ti'
I D:\dev\projects\iree\iree\samples\vulkan\vulkan_inference_gui.cc:589] Loading simple_mul.mlir...
I D:\dev\projects\iree\iree\samples\vulkan\vulkan_inference_gui.cc:605] Module loaded and context is ready for use
I D:\dev\projects\iree\iree\samples\vulkan\vulkan_inference_gui.cc:689] Creating I/O buffers...
[vk_mem_alloc.h : 16824] RAW: vmaCreateBuffer
[vk_mem_alloc.h : 14433] RAW: AllocateMemory: MemoryTypeIndex=3, AllocationCount=1, Size=256
[vk_mem_alloc.h : 11744] RAW: Created new block Size=8388608
[vk_mem_alloc.h : 16824] RAW: vmaCreateBuffer
[vk_mem_alloc.h : 14433] RAW: AllocateMemory: MemoryTypeIndex=3, AllocationCount=1, Size=256
[vk_mem_alloc.h : 11648] RAW: Returned from existing block #0
[vk_mem_alloc.h : 16824] RAW: vmaCreateBuffer
[vk_mem_alloc.h : 14433] RAW: AllocateMemory: MemoryTypeIndex=4, AllocationCount=1, Size=256
[vk_mem_alloc.h : 11744] RAW: Created new block Size=4030464
Assertion failed!
Program: ...build\iree\samples\vulkan\vulkan_inference_gui.exe
File: D:\dev\projects\iree\iree\vm\stack.c
Line: 502
Expression: src_reg_list->size == dst_reg_list->size
Maybe C API usage needs updating?
Metadata
Metadata
Assignees
Labels
bug 🐞Something isn't workinghal/vulkanRuntime Vulkan GPU HAL backendplatform/windows 🚪Windows-specific build, execution, benchmarking, and deployment
Activity
ScottTodd commentedon Jul 24, 2020
Windows CMake runs correctly now, possibly thanks to #2558. Bazel build still fails.
Disable SDL sensor support on Windows. (#2655)