Skip to content
Unverified Commit 8aa07668 authored by Vincent Favre-Nicolin's avatar Vincent Favre-Nicolin Committed by GitHub
Browse files

Use stream in mul_add if given and allocator in subset_sum (#438)



* mul_add(): use stream if given, add an optional destination array.
subset_sum(): use allocator if given.

* Remove unused import, add whitespace to make flake8 happy

* Update pycuda/gpuarray.py

Co-authored-by: default avatarAndreas Klöckner <inform@tiker.net>

* test_subset_sum: also assert if allocator is used

* subset_sum: use given allocator value (even if None) like other functions

---------

Co-authored-by: default avatarAndreas Klöckner <inform@tiker.net>
parent 795ec357
Loading
Loading
Loading
Pipeline #552539 failed with stage
in 36 minutes and 10 seconds