Skip to content

Commit fe18b4a

Browse files
committed
fix reviews
1 parent 74d30dc commit fe18b4a

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

source/loader/layers/sanitizer/ur_sanddi.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,6 +1323,7 @@ __urdlllocal ur_result_t UR_APICALL urKernelSetArgLocal(
13231323
return result;
13241324
}
13251325

1326+
///////////////////////////////////////////////////////////////////////////////
13261327
/// @brief Intercept function for urKernelSetArgPointer
13271328
__urdlllocal ur_result_t UR_APICALL urKernelSetArgPointer(
13281329
ur_kernel_handle_t hKernel, ///< [in] handle of the kernel object

test/layers/sanitizer/CMakeLists.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,4 @@ function(add_sanitizer_test name)
3434
set_sanitizer_test_properties(${name})
3535
endfunction()
3636

37-
function(add_sanitizer_match_test name)
38-
add_sanitizer_test_executable(${name} ${ARGN})
39-
40-
add_test(NAME ${name}
41-
COMMAND ${CMAKE_COMMAND}
42-
-D MODE=stdout
43-
-D TEST_FILE=$<TARGET_FILE:${SAN_TEST_PREFIX}-${name}>
44-
-D MATCH_FILE=${CMAKE_CURRENT_SOURCE_DIR}/${name}.out.match
45-
-P ${PROJECT_SOURCE_DIR}/cmake/match.cmake
46-
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
47-
48-
set_sanitizer_test_properties(${name})
49-
endfunction()
50-
5137
add_sanitizer_test(asan asan.cpp)

test/layers/sanitizer/asan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <gtest/gtest.h>
1414
#include <ur_api.h>
1515

16-
TEST(DeviceASan, Initialization) {
16+
TEST(DeviceAsan, Initialization) {
1717
ur_result_t status;
1818

1919
ur_loader_config_handle_t loaderConfig;

0 commit comments

Comments
 (0)