From ca91dc97611bc8abe542e681539be36eb07f854c Mon Sep 17 00:00:00 2001 From: Petr Vesely Date: Tue, 1 Aug 2023 12:52:48 +0100 Subject: [PATCH] [UR] Add license to missing files --- test/conformance/adapters/CMakeLists.txt | 5 +++++ test/conformance/adapters/cuda/CMakeLists.txt | 4 ++++ test/conformance/adapters/cuda/cuda_fixtures.h | 5 +++++ .../adapters/cuda/cuda_urContextGetNativeHandle.cpp | 5 +++++ .../adapters/cuda/cuda_urDeviceCreateWithNativeHandle.cpp | 5 +++++ .../adapters/cuda/cuda_urDeviceGetNativeHandle.cpp | 5 +++++ .../adapters/cuda/cuda_urEventCreateWithNativeHandle.cpp | 5 +++++ .../adapters/cuda/cuda_urEventGetNativeHandle.cpp | 5 +++++ 8 files changed, 39 insertions(+) diff --git a/test/conformance/adapters/CMakeLists.txt b/test/conformance/adapters/CMakeLists.txt index c49bdfd412..7b9324d5c5 100644 --- a/test/conformance/adapters/CMakeLists.txt +++ b/test/conformance/adapters/CMakeLists.txt @@ -1,3 +1,8 @@ +# Copyright (C) 2023 Intel Corporation +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + if(UR_BUILD_ADAPTER_CUDA) add_subdirectory(cuda) endif() diff --git a/test/conformance/adapters/cuda/CMakeLists.txt b/test/conformance/adapters/cuda/CMakeLists.txt index bed37d8070..241eb87a8c 100644 --- a/test/conformance/adapters/cuda/CMakeLists.txt +++ b/test/conformance/adapters/cuda/CMakeLists.txt @@ -1,3 +1,7 @@ +# Copyright (C) 2023 Intel Corporation +# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +# See LICENSE.TXT +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception add_conformance_test_with_devices_environment(adapter-cuda cuda_fixtures.h diff --git a/test/conformance/adapters/cuda/cuda_fixtures.h b/test/conformance/adapters/cuda/cuda_fixtures.h index 2624abc434..e367a4aa2c 100644 --- a/test/conformance/adapters/cuda/cuda_fixtures.h +++ b/test/conformance/adapters/cuda/cuda_fixtures.h @@ -1,3 +1,8 @@ +// Copyright (C) 2022-2023 Intel Corporation +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #ifndef UR_TEST_CONFORMANCE_ADAPTERS_CUDA_FIXTURES_H_INCLUDED #define UR_TEST_CONFORMANCE_ADAPTERS_CUDA_FIXTURES_H_INCLUDED #include diff --git a/test/conformance/adapters/cuda/cuda_urContextGetNativeHandle.cpp b/test/conformance/adapters/cuda/cuda_urContextGetNativeHandle.cpp index b9d199516d..0a2c855360 100644 --- a/test/conformance/adapters/cuda/cuda_urContextGetNativeHandle.cpp +++ b/test/conformance/adapters/cuda/cuda_urContextGetNativeHandle.cpp @@ -1,3 +1,8 @@ +// Copyright (C) 2022-2023 Intel Corporation +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #include "cuda_fixtures.h" using urCudaContextGetNativeHandle = uur::urContextTest; diff --git a/test/conformance/adapters/cuda/cuda_urDeviceCreateWithNativeHandle.cpp b/test/conformance/adapters/cuda/cuda_urDeviceCreateWithNativeHandle.cpp index 89fddfaf83..b116c9a5c9 100644 --- a/test/conformance/adapters/cuda/cuda_urDeviceCreateWithNativeHandle.cpp +++ b/test/conformance/adapters/cuda/cuda_urDeviceCreateWithNativeHandle.cpp @@ -1,3 +1,8 @@ +// Copyright (C) 2022-2023 Intel Corporation +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #include "cuda_fixtures.h" using urCudaDeviceCreateWithNativeHandle = uur::urPlatformTest; diff --git a/test/conformance/adapters/cuda/cuda_urDeviceGetNativeHandle.cpp b/test/conformance/adapters/cuda/cuda_urDeviceGetNativeHandle.cpp index cfedae68ad..3d2cfd33b7 100644 --- a/test/conformance/adapters/cuda/cuda_urDeviceGetNativeHandle.cpp +++ b/test/conformance/adapters/cuda/cuda_urDeviceGetNativeHandle.cpp @@ -1,3 +1,8 @@ +// Copyright (C) 2022-2023 Intel Corporation +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #include "cuda_fixtures.h" using urCudaGetDeviceNativeHandle = uur::urDeviceTest; diff --git a/test/conformance/adapters/cuda/cuda_urEventCreateWithNativeHandle.cpp b/test/conformance/adapters/cuda/cuda_urEventCreateWithNativeHandle.cpp index d85b83902f..94ae9ad80b 100644 --- a/test/conformance/adapters/cuda/cuda_urEventCreateWithNativeHandle.cpp +++ b/test/conformance/adapters/cuda/cuda_urEventCreateWithNativeHandle.cpp @@ -1,3 +1,8 @@ +// Copyright (C) 2022-2023 Intel Corporation +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #include "cuda_fixtures.h" using urCudaEventCreateWithNativeHandleTest = uur::urQueueTest; diff --git a/test/conformance/adapters/cuda/cuda_urEventGetNativeHandle.cpp b/test/conformance/adapters/cuda/cuda_urEventGetNativeHandle.cpp index 484b2e88c6..a6185868fb 100644 --- a/test/conformance/adapters/cuda/cuda_urEventGetNativeHandle.cpp +++ b/test/conformance/adapters/cuda/cuda_urEventGetNativeHandle.cpp @@ -1,3 +1,8 @@ +// Copyright (C) 2022-2023 Intel Corporation +// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions. +// See LICENSE.TXT +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + #include "cuda_fixtures.h" using urCudaEventGetNativeHandleTest = uur::urQueueTest;