MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / afcl_get_platform

Function afcl_get_platform

src/backend/opencl/platform.cpp:783–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781}
782
783af_err afcl_get_platform(afcl_platform* res) {
784 try {
785 *res = static_cast<afcl_platform>(getActivePlatformVendor());
786 }
787 CATCHALL;
788 return AF_SUCCESS;
789}
790
791af_err afcl_get_context(cl_context* ctx, const bool retain) {
792 try {

Callers

nothing calls this directly

Calls 1

getActivePlatformVendorFunction · 0.85

Tested by

no test coverage detected