Selaa lähdekoodia

Update async.cpp

main
PatricZhao 2 vuotta sitten
committed by GitHub
vanhempi
commit
da4f0d124c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  1. +2
    -4
      code/async.cpp

+ 2
- 4
code/async.cpp Näytä tiedosto

@ -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";

Ladataan…
Peruuta
Tallenna