32 lines
481 B
C
32 lines
481 B
C
#pragma once
|
|
|
|
// STL includes
|
|
#include <stdbool.h>
|
|
|
|
// OpenCL includes
|
|
#include <CL/cl.h>
|
|
|
|
struct cl_sdk_options_DeviceTriplet
|
|
{
|
|
cl_uint plat_index;
|
|
cl_uint dev_index;
|
|
cl_device_type dev_type;
|
|
};
|
|
|
|
struct cl_sdk_options_Diagnostic
|
|
{
|
|
bool verbose;
|
|
bool quiet;
|
|
};
|
|
|
|
struct cl_sdk_options_SingleDevice
|
|
{
|
|
struct cl_sdk_options_DeviceTriplet triplet;
|
|
};
|
|
|
|
struct cl_sdk_options_MultiDevice
|
|
{
|
|
struct cl_sdk_options_DeviceTriplet* triplets;
|
|
size_t number;
|
|
};
|