• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2018 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  *
7  */
8 
9 #pragma once
10 
11 //
12 //
13 //
14 
15 #include <CL/opencl.h>
16 #include <stdbool.h>
17 
18 //
19 //
20 //
21 
22 cl_int
23 clFindIdsByName(char const     * const target_platform_substring,
24                 char const     * const target_device_substring,
25                 cl_platform_id * const platform_id,
26                 cl_device_id   * const device_id,
27                 size_t           const matched_device_name_size,
28                 char           * const matched_device_name,
29                 size_t         * const matched_device_name_size_ret,
30                 bool             const is_verbose);
31 
32 //
33 //
34 //
35