|
|
@ -1,6 +1,4 @@ |
|
|
|
// Copyright (C) 2020 Intel Corporation
|
|
|
|
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
// Patric Zhao, patric.zhao@intel.com
|
|
|
|
|
|
|
|
#include <CL/sycl.hpp>
|
|
|
|
#include <iostream>
|
|
|
@ -11,7 +9,7 @@ |
|
|
|
int main() { |
|
|
|
|
|
|
|
// Enable queue profiling
|
|
|
|
queue my_gpu_queue(gpu_selector{}, cl::sycl::property::queue::in_order()); |
|
|
|
queue my_gpu_queue(gpu_selector{}); |
|
|
|
|
|
|
|
std::cout << "Selected GPU device: " << |
|
|
|
my_gpu_queue.get_device().get_info<info::device::name>() << "\n"; |
|
|
|