Skip to content
New issue

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

gbmv! prone to NaNs in y #44

Open
dlfivefifty opened this issue Jun 1, 2018 · 0 comments
Open

gbmv! prone to NaNs in y #44

dlfivefifty opened this issue Jun 1, 2018 · 0 comments

Comments

@dlfivefifty
Copy link
Contributor

This behaviour is inconsistent (and prevents use of similar):

alpha = T(2.0)
beta = T(0.0)
hA = rand(T, 4, 32)
hB = rand(T, 32)
m = 33
hC = rand(T, m)
A = CLArray(hA)
B = CLArray(hB)
C = CLArray(hC)
isnan(sum(BLAS.gbmv!('N', m, 1, 2, alpha, A, B, beta, C))) # false
C[1] = NaN
isnan(sum(BLAS.gbmv!('N', m, 1, 2, alpha, A, B, beta, C)) ) # true
hC[1] = NaN
isnan(sum(BLAS.gbmv!('N', m, 1, 2, alpha, hA, hB, beta, hC))) # false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant