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
Suggested fix:
namespace occa { template <class T> occa::memory memoryPool::reserve(const dim_t entries) { if (std::is_void<T>::value) return reserve(entries, occa::dtype::byte); return reserve(entries, occa::dtype::get<T>()); } }
The text was updated successfully, but these errors were encountered:
memoryPool::reserve
void
Note that program specialization based on std::is_void results in undefined behavior.
std::is_void
Sorry, something went wrong.
No branches or pull requests
Suggested fix:
The text was updated successfully, but these errors were encountered: