You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenCL spec does not describe any specific error behavior when no platforms are found, but the OpenCL ICD loader returns an error code for this case. This OpenCL runtime loader should have a build option to choose the desired behavior. This is hard-coded with an ifdef today.
// The cl_khr_icd spec says that an error should be returned if no// platforms are found, but this is not an error condition in the OpenCL// spec.#if1return_SCL_PLATFORM_NOT_FOUND_KHR;
#elseif (num_platforms) {
num_platforms[0] =0;
}
returnCL_SUCCESS;
#endif
The text was updated successfully, but these errors were encountered:
The OpenCL spec does not describe any specific error behavior when no platforms are found, but the OpenCL ICD loader returns an error code for this case. This OpenCL runtime loader should have a build option to choose the desired behavior. This is hard-coded with an ifdef today.
The text was updated successfully, but these errors were encountered: