Improved --print-platforms option.
This commit is contained in:
parent
d8d173db4d
commit
476e5dcb18
5 changed files with 83 additions and 38 deletions
|
@ -66,11 +66,12 @@ public:
|
|||
static cl_program createProgramWithBinary(cl_context context, cl_uint num_devices, const cl_device_id *device_list, const size_t *lengths, const unsigned char **binaries, cl_int *binary_status, cl_int *errcode_ret);
|
||||
static cl_program createProgramWithSource(cl_context context, cl_uint count, const char **strings, const size_t *lengths, cl_int *errcode_ret);
|
||||
static cl_uint getDeviceMaxComputeUnits(cl_device_id id);
|
||||
static std::vector<cl_platform_id> getPlatformIDs();
|
||||
static uint32_t getNumPlatforms();
|
||||
static cl_uint getNumPlatforms();
|
||||
static OclVendor getDeviceVendor(cl_device_id id);
|
||||
static std::vector<cl_platform_id> getPlatformIDs();
|
||||
static String getDeviceBoardName(cl_device_id id);
|
||||
static String getDeviceName(cl_device_id id);
|
||||
static String getPlatformInfo(cl_platform_id platform, cl_platform_info param_name);
|
||||
static String getProgramBuildLog(cl_program program, cl_device_id device);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue