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

Fix synchronization before testing cublasXt calls. #577

Merged
merged 2 commits into from
Nov 28, 2020
Merged

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Nov 27, 2020

Fixes #124, fixes #536

cc @kshyatt this was a fun one; cuBLASXt doesn't respect stream semantics, so we need to make sure data is actually ready before calling the API. Similarly, the API is actually blocking, so we don't need to sync afterwards. I wonder if something similar is happening with some of the sporadic failures in the -MG PRs.

@maleadt maleadt added the tests Adds or changes tests. label Nov 27, 2020
@codecov
Copy link

codecov bot commented Nov 27, 2020

Codecov Report

Merging #577 (afab298) into master (949dafe) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #577   +/-   ##
=======================================
  Coverage   80.20%   80.20%           
=======================================
  Files         116      116           
  Lines        6900     6900           
=======================================
  Hits         5534     5534           
  Misses       1366     1366           
Impacted Files Coverage Δ
lib/cublas/CUBLAS.jl 80.28% <ø> (ø)
lib/cublas/wrappers.jl 91.90% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 949dafe...afab298. Read the comment docs.

@kshyatt kshyatt added the cuda libraries Stuff about CUDA library wrappers. label Nov 27, 2020
@maleadt maleadt merged commit 16db7fc into master Nov 28, 2020
@maleadt maleadt deleted the tb/cublasxt_sync branch November 28, 2020 07:27
maleadt added a commit that referenced this pull request Jan 5, 2021
Fix synchronization before testing cublasXt calls.
maleadt added a commit that referenced this pull request Jan 6, 2021
Fix synchronization before testing cublasXt calls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda libraries Stuff about CUDA library wrappers. tests Adds or changes tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CUBLAS and exceptions test failures on Windows cublasXtStrmm test failures on Windows 10 Julia 1.1
2 participants