Adding Intel LLVM support for rocRAND backend#218
Adding Intel LLVM support for rocRAND backend#218mkrainiuk merged 10 commits intouxlfoundation:developfrom
Conversation
|
@TejaX-Alaghari Thanks for the PR. Similar comments from #189 applies here as well. Can we first focus on #189 and then apply the similar updates to this PR as well? |
cf4c071 to
7d8fdec
Compare
aelizaro
left a comment
There was a problem hiding this comment.
@TejaX-Alaghari, thank you for the PR! I have only 1 major question about engine passed to lambda by reference and several minor question.
Also, I see that Gaussian distribution tests failed for USM, do you know the root cause?
cmake/FindrocRAND.cmake
Outdated
| @@ -0,0 +1,46 @@ | |||
| #--=============================================================================== | |||
| # Copyright 2020-2022 Intel Corporation | |||
There was a problem hiding this comment.
Minor: Not sure about copyright
There was a problem hiding this comment.
If this is a new file, the copyright should contain only the year 2022.
f203691 to
a1d121b
Compare
The failures of these skip_ahead cases is a known issue in rocRAND and has been mentioned in this oneMKL PR (ref Note2). |
|
@vmalia @mkrainiuk Could you please review this PR and share your feedback as well. |
cmake/FindrocRAND.cmake
Outdated
| @@ -0,0 +1,46 @@ | |||
| #--=============================================================================== | |||
| # Copyright 2020-2022 Intel Corporation | |||
There was a problem hiding this comment.
If this is a new file, the copyright should contain only the year 2022.
| ) | ||
| target_include_directories( | ||
| ${LIB_OBJ} PRIVATE ${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/src | ||
| ${CMAKE_BINARY_DIR}/bin ${MKL_INCLUDE}) |
There was a problem hiding this comment.
There are many whitespace changes in CMake files including copyright and cmake code. Can you please share why we are making those changes?
There was a problem hiding this comment.
We've observed that the format of this CMake file was not proper when compared with the other CMake files.
Hence we've ran the cmake-format tool on this file.
If you have any suggestion or recommendation on handling CMake file formats for oneMKL, do share with us.
There was a problem hiding this comment.
I see, I think it is a great idea. @mkrainiuk do you think it would help us to investigate this tool and add it to Contribution guidelines just like clang-format?
There was a problem hiding this comment.
Yes, this is a good idea to improve CMake file format too.
4012172 to
2c73eb6
Compare
|
@aelizaro and @vmalia, thanks for all the suggestions and reviews. |
mkrainiuk
left a comment
There was a problem hiding this comment.
Thank you for the PR, changes look good to me.
Description
This PR is intended to extend the HIP backend of RNG domain, which is currently supported for hipSYCL compiler to Intel’s LLVM compiler.
All Submissions
New features
test_log.txt