Skip to content

Commit

Permalink
[DO NOT MERGE]
Browse files Browse the repository at this point in the history
  • Loading branch information
RossBrunton committed Sep 12, 2024
1 parent 24a8299 commit 37b9c8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-hw-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
]
build_type: [Debug, Release]
compiler: [{c: gcc, cxx: g++}, {c: clang, cxx: clang++}]
multiple: [Multiple, Single]
# TODO: The latest L0 loader segfaults when built with clang.
exclude:
- adapter: {name: L0, platform: ""}
Expand Down Expand Up @@ -89,6 +90,7 @@ jobs:
-DUR_SYCL_LIBRARY_DIR=${{github.workspace}}/dpcpp_compiler/lib
${{ matrix.adapter.name == 'HIP' && '-DUR_CONFORMANCE_AMD_ARCH=gfx1030' || '' }}
${{ matrix.adapter.name == 'HIP' && '-DUR_HIP_PLATFORM=AMD' || '' }}
${{ matrix.multiple == 'Multiple' && '-DUR_BUILD_ADAPTER_OPENCL=ON -DUR_BUILD_ADAPTER_L0=ON' || '' }}
- name: Build
# This is so that device binaries can find the sycl runtime library
Expand Down
3 changes: 3 additions & 0 deletions source/loader/ur_ldrddi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,9 @@ __urdlllocal ur_result_t UR_APICALL urDeviceGetInfo(
) {
ur_result_t result = UR_RESULT_SUCCESS;

// For testing - this should explode and fail tests
abort();

[[maybe_unused]] auto context = getContext();

// extract platform's function pointer table
Expand Down

0 comments on commit 37b9c8a

Please sign in to comment.