-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Andreas 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: Andreas Klöckner <inform@tiker.net>
- Loading branch information
Showing
2 changed files
with
68 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters