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
GPUArray.minimum
bool
Here's an MWE
>>> import numpy as np >>> import pycuda.autoinit >>> import pycuda.gpuarray as gpuarray >>> a = np.array(True) >>> b = np.array(False) >>> a_gpu = gpuarray.to_gpu(a) >>> b_gpu = gpuarray.to_gpu(b) >>> result_np = np.minimum(a, b) >>> print(result_np) >>> gpuarray.minimum(a_gpu, b_gpu)
The text was updated successfully, but these errors were encountered:
There's a proposed fix for this at https://gitlab.tiker.net/inducer/pycuda/-/merge_requests/73.
Sorry, something went wrong.
No branches or pull requests
Here's an MWE
The text was updated successfully, but these errors were encountered: