-
Notifications
You must be signed in to change notification settings - Fork 171
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
rocblas_hgemm gives incorrect results #340
Comments
Can you please check the version of the rocblas library that you are using. I did this for the executable rocblas-bench using ldd below:
In this case, the version is 14.1.1 The reason I ask is because I have just tested using the command below and the rocblas-bench test for the sizes in your bug report is passing. Note, the rocblas-bench test may be incorrect, and there may be an error.
You could also run the test with rocblas-bench with the 4 commands below (the command ./install.sh will take minutes to complete):
for more information on the command rocblas-bench, run
|
The rocblas version I am using is
|
tried to follow the steps you provided to clone the repo and run rocblas-bench, but ran into the following error during the install step (step #3)
|
attempting to do
|
I omitted the -d flag for the command install.sh, can you try again with
The d flag should install the cblas dependency. |
Please install the latest version of rocBLAS. You can either install it on your machine with:
or install from the Debian file rocblas-0.14.1.101-Linux.deb at https://github.com/ROCmSoftwarePlatform/rocBLAS/releases/tag/v14.1.1 |
finally got the install script to work, and the new version does give correct results. thanks |
Tried running the full TF unittest with the new rocblas version, and ran into other errors. two of the failures can be reproduced as follows:
|
closing for now; please reopen if issue still present with latest versions |
How to reproduce
make float
to run the testcase withfloat
datatypemake half
to run the testcase withhalf
datatypeThe testcase does a simple matmul of two 3x3 matrices
The testcase can be run for the
float
datatype (rocblas_sgemm
is called) (gives correct answer)half
datatype (rocblas_hgemm
is called) (given incorrect answer)What is the expected behavior
make float
results are the expected/correct onesA
andB
are the input matrices,C
is the outputWhat actually happens
make half
results are the incorrect onesNotice the values in the third column of
C
are incorrect!Makefile.gz
main.cpp.gz
The text was updated successfully, but these errors were encountered: