Skip to content

Commit

Permalink
Merge pull request #656 from veselypeta/petr/virtual-memory-cts-tempalte
Browse files Browse the repository at this point in the history
[UR] Setup Virtual Memory CTS template
  • Loading branch information
veselypeta committed Jun 28, 2023
2 parents 78aebac + 21b15da commit ec72d28
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/conformance/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ add_subdirectory(usm)
add_subdirectory(event)
add_subdirectory(queue)
add_subdirectory(sampler)
add_subdirectory(virtual_memory)

if(DEFINED UR_DPCXX)
add_custom_target(generate_device_binaries)
Expand Down
17 changes: 17 additions & 0 deletions test/conformance/virtual_memory/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# 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(virtual_memory
urPhysicalMemCreate.cpp
urPhysicalMemRelease.cpp
urPhysicalMemRetain.cpp
urVirtualMemFree.cpp
urVirtualMemGetInfo.cpp
urVirtualMemGranularityGetInfo.cpp
urVirtualMemMap.cpp
urVirtualMemReserve.cpp
urVirtualMemSetAccess.cpp
urVirtualMemUnmap.cpp
)
4 changes: 4 additions & 0 deletions test/conformance/virtual_memory/urPhysicalMemCreate.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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
4 changes: 4 additions & 0 deletions test/conformance/virtual_memory/urPhysicalMemRelease.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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
4 changes: 4 additions & 0 deletions test/conformance/virtual_memory/urPhysicalMemRetain.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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
4 changes: 4 additions & 0 deletions test/conformance/virtual_memory/urVirtualMemFree.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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
4 changes: 4 additions & 0 deletions test/conformance/virtual_memory/urVirtualMemGetInfo.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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
4 changes: 4 additions & 0 deletions test/conformance/virtual_memory/urVirtualMemMap.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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
4 changes: 4 additions & 0 deletions test/conformance/virtual_memory/urVirtualMemReserve.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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
4 changes: 4 additions & 0 deletions test/conformance/virtual_memory/urVirtualMemSetAccess.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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
4 changes: 4 additions & 0 deletions test/conformance/virtual_memory/urVirtualMemUnmap.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 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

0 comments on commit ec72d28

Please sign in to comment.