Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and fix SYCL headers #20

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/framework/sycl/sycl.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "framework/test_case/test_case.h"

#include <CL/sycl.hpp>
#include <sycl/sycl.hpp>

namespace SYCL {
namespace sycl = ::sycl;
Expand Down
6 changes: 0 additions & 6 deletions source/framework/sycl/utility/print_device_info_sycl.inl
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ void printDeviceInfo() {
std::cout << "Using SYCL backend: " << backendToString[backend] << std::endl;
std::cout << "Driver version: " << driverVersion << std::endl;

if (backend == sycl::backend::opencl) {
std::cout << "OpenCL C version: " << device.get_info<sycl::info::device::opencl_c_version>() << std::endl;
}
std::cout << "\tDevice: " << deviceName << std::endl;
std::cout << "\t\tVendor:\t" << vendorName << std::endl;
std::cout << "\t\tType:\t" << deviceType << std::endl;
Expand Down Expand Up @@ -77,9 +74,6 @@ static void printAvailableDevices() {
std::cout << "\t\tVendor:\t" << vendorName << std::endl;
std::cout << "\t\tDriver version:\t" << driverVersion << std::endl;
std::cout << "\t\tVersion:\t" << version << std::endl;
if (backend == sycl::backend::opencl) {
std::cout << "\t\tOpenCL C Version:\t" << device.get_info<sycl::info::device::opencl_c_version>() << std::endl;
}

std::cout << std::endl;
}
Expand Down