We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does the case need to include double-precision floating-point check (FP64) in the OpenCL plugin interface ?
case PI_DEVICE_INFO_ATOMIC_64: { size_t extSize; cl_bool result = clGetDeviceInfo( cast<cl_device_id>(device), CL_DEVICE_EXTENSIONS, 0, nullptr, &extSize); std::string extStr(extSize, '\0'); result = clGetDeviceInfo(cast<cl_device_id>(device), CL_DEVICE_EXTENSIONS, extSize, &extStr.front(), nullptr); if (extStr.find("cl_khr_int64_base_atomics") == std::string::npos || extStr.find("cl_khr_int64_extended_atomics") == std::string::npos) result = false; else result = true; std::memcpy(paramValue, &result, sizeof(cl_bool)); return PI_SUCCESS; }
The text was updated successfully, but these errors were encountered:
#6434
Sorry, something went wrong.
No branches or pull requests
Does the case need to include double-precision floating-point check (FP64) in the OpenCL plugin interface ?
The text was updated successfully, but these errors were encountered: