Skip to content

Commit a07f0f7

Browse files
committed
Implemented PR feedback, cleaned up new header files.
1 parent 39a85a8 commit a07f0f7

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

sycl/unittests/pi/BackendString.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2+
// See https://llvm.org/LICENSE.txt for license information.
3+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4+
15
#pragma once
26

37
#include <detail/plugin.hpp>
48

5-
using namespace cl::sycl;
6-
79
namespace pi {
8-
inline const char *GetBackendString(backend backend) {
10+
inline const char *GetBackendString(cl::sycl::backend backend) {
911
switch (backend) {
1012
#define PI_BACKEND_STR(backend_name) \
1113
case cl::sycl::backend::backend_name: \

sycl/unittests/pi/cuda/test_get_plugin.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2+
// See https://llvm.org/LICENSE.txt for license information.
3+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4+
15
#pragma once
26

3-
#include <CL/sycl.hpp>
4-
#include <CL/sycl/detail/pi.hpp>
5-
#include <algorithm>
67
#include <detail/plugin.hpp>
78

89
using namespace cl::sycl;

0 commit comments

Comments
 (0)