Skip to content

Commit

Permalink
Change FIXTURE in enqueue alloc test
Browse files Browse the repository at this point in the history
  • Loading branch information
kswiecicki committed Oct 24, 2024
1 parent 0ab6301 commit 1fad8cc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/adapters/level_zero/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ if(UR_BUILD_ADAPTER_L0)

add_dependencies(test-adapter-level_zero
generate_device_binaries kernel_names_header)

add_adapter_test(level_zero_enqueue_alloc
FIXTURE KERNELS
SOURCES
enqueue_alloc.cpp
ENVIRONMENT
"UR_ADAPTERS_FORCE_LOAD=\"$<TARGET_FILE:ur_adapter_level_zero>\""
)
endif()

if(NOT WIN32 AND NOT UR_STATIC_ADAPTER_L0)
Expand Down Expand Up @@ -84,14 +92,6 @@ if(UR_BUILD_ADAPTER_L0)
target_link_libraries(test-adapter-level_zero_ipc PRIVATE
ur_umf
)

add_adapter_test(level_zero_enqueue_alloc
FIXTURE DEVICES
SOURCES
enqueue_alloc.cpp
ENVIRONMENT
"UR_ADAPTERS_FORCE_LOAD=\"$<TARGET_FILE:ur_adapter_level_zero>\""
)
endif()

if(UR_BUILD_ADAPTER_L0_V2)
Expand Down

0 comments on commit 1fad8cc

Please sign in to comment.