Add cl_create_context function

old-commit-hash: 72950cd9bc6bc09edb2a5e0a8f6ef38af83e7881
This commit is contained in:
mitchellgoffpc
2023-08-21 19:32:48 -07:00
parent b1a10e45d1
commit faa3ee050d
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@
})
cl_device_id cl_get_device_id(cl_device_type device_type);
cl_context cl_create_context(cl_device_id device_id);
cl_program cl_program_from_source(cl_context ctx, cl_device_id device_id, const std::string& src, const char* args = nullptr);
cl_program cl_program_from_binary(cl_context ctx, cl_device_id device_id, const uint8_t* binary, size_t length, const char* args = nullptr);
cl_program cl_program_from_file(cl_context ctx, cl_device_id device_id, const char* path, const char* args);