Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Add ldiv! and tests #383

Merged
merged 1 commit into from
Aug 6, 2019
Merged

Add ldiv! and tests #383

merged 1 commit into from
Aug 6, 2019

Conversation

willtebbutt
Copy link
Contributor

As described in the title.

Copy link
Member

@andreasnoack andreasnoack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit annoying that we need to duplicate these for CuArrays since they are basically identical to the CPU version. The difference is that we use the LAPACK versions of the triangular solvers in LinearAlgebra which returns a non-zero error code for singular matrices. BLAS doesn't support error codes so this will instead cause NaN. Hence, the behavior of these methods will be slightly different from the CPU versions but I don't think that is a problem. In general, you probably want to avoid the thrown exceptions on the GPU.

@vchuravy vchuravy merged commit 3ab04e2 into JuliaGPU:master Aug 6, 2019
@willtebbutt willtebbutt deleted the wct/ldiv-vector branch August 6, 2019 12:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants