Skip to content
Roman Arzumanyan edited this page Mar 18, 2015 · 1 revision

scow_Platform

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);

Clone this wiki locally