Skip to content

iree/hal/cts:allocator_test, command_buffer_test and device_creation_test fail on real GPU hardware (Quadro P1000) #1996

Closed

Description

@hanhanW

These three tests fail on real GPU hardware and they are all passing on swiftshader.

All of them hit this assertion:

15: iree_hal_cts_allocator_test: tpp.c:82: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed.

note: just file an issue for record when I was running tests on real GPU hardware. This doesn't block anything.

Activity

  1. added
    bug 🐞
    on May 21, 2020
  2. ScottTodd commented on May 21, 2020

    @ScottTodd
    Member

    Interesting. These tests all work for me on Windows (NVIDIA 2080TI, updated drivers and Vulkan SDK). On Linux (NVIDIA Quadro P1000, old drivers, old Vulkan SDK, using extension layer for timeline semaphore support) I see an assertion during test teardown, after the test "passes":

    [vk_mem_alloc.h : 15777] RAW: vmaCreateAllocator
    I iree/hal/vulkan/vulkan_driver.cc:295] Created Vulkan Device: Quadro P1000
    I ./iree/hal/cts/cts_test_base.h:48] Created device 'Quadro P1000'
    I iree/hal/cts/device_creation_test.cc:26] Device details:
    [DeviceInfo]
      Name: Quadro P1000
      Supported features: []
      Device ID: 32541024
    [VulkanDevice]
      Command Queues: 3
        - Dispatch Queues: 2
        - Transfer Queues: 1
    [vk_mem_alloc.h : 15787] RAW: vmaDestroyAllocator
    DEBUG: Unloading layer library /usr/local/google/home/scotttodd/code/iree/build/third_party/vulkan_extensionlayer/layers/./libVkLayer_khronos_timeline_semaphore.so
    [       OK ] AllDrivers/DeviceCreationTest.CreateDevice/vulkan (263 ms)
    [----------] 2 tests from AllDrivers/DeviceCreationTest (263 ms total)
    
    [----------] Global test environment tear-down
    [==========] 2 tests from 1 test suite ran. (263 ms total)
    [  PASSED  ] 2 tests.
    external/bazel_tools/tools/test/test-setup.sh: line 310:    14 Segmentation fault      "${TEST_PATH}" "$@" 2>&1
    ================================================================================
    Target //iree/hal/cts:device_creation_test up-to-date:
      bazel-bin/iree/hal/cts/device_creation_test
    INFO: Elapsed time: 0.680s, Critical Path: 0.41s
    INFO: 1 process: 1 linux-sandbox.
    INFO: Build completed, 1 test FAILED, 2 total actions
    //iree/hal/cts:device_creation_test                                      FAILED in 0.4s
    

    I see the same type of failure through both CMake and Bazel.

  3. hanhanW commented on May 21, 2020

    @hanhanW
    ContributorAuthor

    Yes, I see the exactly same error message with CMake. I didn't try with Bazel.

  4. added
    runtime
    on May 26, 2020
  5. added
    hal/vulkan
    on Jul 20, 2020
  6. antiagainst commented on Jul 20, 2020

    @antiagainst
    Member

    I think we don't have such failures anymore. Closing this. Feel free to reopen if you still see them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐞hal/vulkanruntime

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions