File tree Expand file tree Collapse file tree 6 files changed +16
-4
lines changed Expand file tree Collapse file tree 6 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ endfunction()
46
46
47
47
add_subdirectory (testing )
48
48
49
+ add_subdirectory (runtime )
49
50
add_subdirectory (platform )
50
51
add_subdirectory (device )
51
52
add_subdirectory (context )
Original file line number Diff line number Diff line change 4
4
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5
5
6
6
add_conformance_test (platform
7
- urInit.cpp
8
7
urPlatformCreateWithNativeHandle.cpp
9
8
urPlatformGet.cpp
10
9
urPlatformGetApiVersion.cpp
11
10
urPlatformGetBackendOption.cpp
12
11
urPlatformGetInfo.cpp
13
12
urPlatformGetLastError.cpp
14
- urPlatformGetNativeHandle.cpp
15
- urTearDown.cpp )
13
+ urPlatformGetNativeHandle.cpp )
Original file line number Diff line number Diff line change @@ -14,7 +14,12 @@ struct urTest : ::testing::Test {
14
14
15
15
void SetUp () override {
16
16
ur_device_init_flags_t device_flags = 0 ;
17
- ASSERT_SUCCESS (urInit (device_flags, nullptr ));
17
+ ur_loader_config_handle_t config;
18
+ ASSERT_SUCCESS (urLoaderConfigCreate (&config));
19
+ ASSERT_SUCCESS (
20
+ urLoaderConfigEnableLayer (config, " UR_LAYER_FULL_VALIDATION" ));
21
+ ASSERT_SUCCESS (urInit (device_flags, config));
22
+ ASSERT_SUCCESS (urLoaderConfigRelease (config));
18
23
}
19
24
20
25
void TearDown () override {
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2023 Intel Corporation
2
+ # Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
3
+ # See LICENSE.TXT
4
+ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5
+
6
+ add_conformance_test (runtime
7
+ urInit.cpp
8
+ urTearDown.cpp )
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments