oneMKL icon indicating copy to clipboard operation
oneMKL copied to clipboard

[BLAS, cuBLAS backend, hipSYCL] Add official hipsycl cuBLAS support

Open sbalint98 opened this issue 3 years ago • 6 comments

As discussed under PR #144 hipSYCL rocBLAS support comes with automatic support for cuBLAS as well. This PR adds this information to the README.

Furthermore, this PR differentiates the FindcuBLAS.cmake file between hipSYCL and Intel LLVM. In the case of hipSYCL, there is no need to have the OPENCL_PATH set. Moreover, the CUDA_CUDA_LIBRARY environment variable is also not strictly necessary since finding the libcuda.so is handled by hipSYCL.

onemkl-cuda-hipsycl-test.txt

sbalint98 avatar Feb 16 '22 03:02 sbalint98

@sbalint98 As you are aware, there were several changes since the time this PR is opened. Could you please rebase and check if the tests are all good? Also, I think, we can enable cuRAND backend with hipSYCL with this PR as well. What do you think?

Could you please let me know when everything is ready?

mmeterel avatar May 24 '22 19:05 mmeterel

Hi @mmeterel thank you for reminding me. I'll have a look and prepare this PR until Monday. I'll let you know if it is ready for review

sbalint98 avatar May 26 '22 08:05 sbalint98

Sorry for the delay. I have rebased the branch and updated the readme. All tests are passing on my sid cublas_tests_hipsycl.txt e

sbalint98 avatar Jun 06 '22 19:06 sbalint98

Sorry for the delay. I have rebased the branch and updated the readme. All tests are passing on my sid cublas_tests_hipsycl.txt e

@sbalint98 Thanks. Do you plan to add cuRAND support in this PR as well?

mmeterel avatar Jun 06 '22 19:06 mmeterel

@nilsfriess and @normallytangent are working on the cuRAND support. I believe for them it might be easier to open a new PR. Would this be acceptable for you?

sbalint98 avatar Jun 06 '22 20:06 sbalint98

@nilsfriess and @normallytangent are working on the cuRAND support. I believe for them it might be easier to open a new PR. Would this be acceptable for you?

Sure, that works if it will be easier on your side.

mmeterel avatar Jun 06 '22 20:06 mmeterel

@sbalint98 Thanks for the PR. I tested it locally (had to rebase hipSYCL and build it with LLVM-13) and it works smoothly. :)

mmeterel avatar Sep 15 '22 17:09 mmeterel

@mkrainiuk Could you please take a look at this?

mmeterel avatar Sep 15 '22 17:09 mmeterel