-
Notifications
You must be signed in to change notification settings - Fork 0
scow_Platform
Roman Arzumanyan edited this page Mar 18, 2015
·
1 revision
This structure represents OpenCL platform. It's incapsulated within scow_Steel_Thread, but also can be made by hand, by calling for Make_Platform()
function. This function takes cl_platform_id as argument:
scow_Platform *platform = Make_Platform(Pick_Platform_By_Device_Type(CL_DEVICE_TYPE_GPU));
As all SCOW structures, it's destroyed by calling Destroy()
function:
platform->Destroy(platform);