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

hipblas.h not found #68

Closed
psteinb opened this issue Mar 24, 2017 · 6 comments
Closed

hipblas.h not found #68

psteinb opened this issue Mar 24, 2017 · 6 comments

Comments

@psteinb
Copy link

psteinb commented Mar 24, 2017

Hi, I just wanted to play around with the hip samples that come with rocm 1.4. I went into samples/7_Advanced/hipblas_saxpy and called make and received this:

saxpy.hipblasref.cpp:9:10: fatal error: 'hipblas.h' file not found
#include <hipblas.h>
         ^
1 error generated.
Died at /opt/rocm/hip/bin/hipcc line 378.

related to this, I was wondering how to use hipBlas, hipFFT, hipRNG?

@psteinb
Copy link
Author

psteinb commented Mar 24, 2017

I should add that I cloned this repo and tries the same from this folder with the same result

@sunway513
Copy link
Contributor

Hi, could you install hipblas with the following commands?
cd ~ && git clone -b master https://bitbucket.org/multicoreware/hcblas.git && cd hcblas && ./build.sh && sudo dpkg -i build/*.deb
cd /opt/rocm/hcblas/lib && sudo ln -s libhipblas_hcc.so libhipblas.so

hipblas will be installed to /opt/rocm/hcblas by default.

@psteinb
Copy link
Author

psteinb commented Mar 24, 2017 via email

@sunway513
Copy link
Contributor

Yes, hipblas is a wrapper of cublas and hcblas. It translates hipblas APIs to either cublas or hcblas routines based on the underlying platform; and since that is through header files, there's no performance loss.
Thanks for your suggestions, we'll add more instructions on those hip* libraries.

@psteinb
Copy link
Author

psteinb commented Mar 24, 2017 via email

@bensander
Copy link
Contributor

bensander commented Mar 25, 2017 via email

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

3 participants