Repository navigation
fix(ocl) - Install ocltst files to bin dir, ocltst libs to paths according to OS #4305
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
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
758566e
artifacts: ocltst files from bin
agunashe 9480530
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe 8f630da
Install ocltst to bin dir
agunashe a7acb83
reenable hip-tests build
agunashe ee44cfd
Apply suggestions from code review
agunashe 74f64e2
move ocltst related files to test package
agunashe a2b9917
keep the ocltst libs/dlls in ocl_test package
agunashe 6d2ca20
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe d3509ff
add ocltst build section for windows
agunashe 086a32c
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe 6de7fb4
use users/agunashe/ocltst_install 829a626
agunashe a19b01c
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
d03d3ec
add ocl-icd to python packages
agunashe 992f789
group the ocltst files together correctly
agunashe 8aa522f
include exclude files in ocltest
agunashe 075d5fe
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe ee36f9e
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe 51b6b95
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe 338643d
update rocm-systems to pick rebased users/agunashe/ocltst_install
agunashe 2b06a7b
Install ocltst libs to bin folder for windows, lib for linux
agunashe 48cf84e
rebased rocm-systems users/agunashe/ocltst_install
agunashe f51c59a
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe 812d961
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe 501e629
Merge branch 'main' into users/agunashe/ocltst_path
agunashe 44503a9
Merge branch 'main' into users/agunashe/ocltst_path
agunashe c4937c8
skip checking ldd on specific ocl test libs
agunashe d7e23f7
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe 32e1744
build ocltests for linux for now
agunashe 6485c40
fix some formatting issues
agunashe 9879622
fix the duplicate sections in ocl.toml file
agunashe 263877e
Merge branch 'main' into users/agunashe/ocltst_path
agunashe 505c706
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe 4b2c7d1
add oclgl lib to exception list, add a8b0fac from r-s users/agunashe/…
agunashe aad601a
build ocltst on windows as well
agunashe 09354d4
Merge remote-tracking branch 'origin/main' into users/agunashe/ocltst…
agunashe bf38584
Merge branch 'main' into users/agunashe/ocltst_path
agunashe 2a34041
pick share/opencl/** as part of tests to pass Rock
agunashe e25b8e4
Merge branch 'main' into users/agunashe/ocltst_path
agunashe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pulled down the artifacts to test this:
Do you want to put
oclruntime.dllinbin/on Windows? That would more closely match other subprojects:I was able to run
ocltstwith the DLL in lib, just a bit awkward:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure thanks. fixed this in the latest commit of rocm-systems PR.
Listing the contents of ocl_test package.
Linux

Windows

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you approve this, I can merge the rocm-systems and wait for rocm-systems bump for this PR.
Parallelly can work on fixing the ocltst PR to pick these new path changes
#3590
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code changes LGTM. Need to merge the rocm-systems PR first and pull that in during a regular submodule update. I'm not going to approve until the submodule update is separate from this PR (we're hemorrhaging on submodule updates lately due to infra issues, build failures, and test failures, and I don't want to risk an unscheduled update slipping through without going through the standard process)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure thanks. I merged ROCm/rocm-systems#4632 into rocm-systems.
Will drop rocm-systems from this PR and wait for the rocm-systems bump.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ScottTodd - I had to revert ROCm/rocm-systems#4632 because of missing OpenCL.so dependency with liboclperf.so, liboclruntime.so. Opencl.so dependency is satisfied by ubuntu packages ocl-icd-libopencl1, ocl-icd-opencl-dev. This PR skips checking the ldd for these test libs.
New rocm-systems PR - ROCm/rocm-systems#9804
Once you approve , I need to rebase and drop rocm-systems in this PR.
rocm-systems PR depends on this rock PR. So this needs to go in first.
for the folder structure of test files please see below screenshots
Linux

https://therock-ci-artifacts.s3.amazonaws.com/33570960219-linux/core-ocl_test_generic.tar.zst
windows

https://therock-ci-artifacts.s3.amazonaws.com/33570960219-windows/core-ocl_test_generic.tar.zst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM, will take a look at the new PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you approved https://github.com/ROCm/rocm-systems/pull/9804/changes. Will drop rocm-systems in this PR and rebase this. So we can merge this next week
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ScottTodd - I dropped rocm-systems from this PR and its rebased. All required tests have passed.
Can you help approve this PR please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/ROCm/TheRock/blob/main/CONTRIBUTING.md#responding-to-review-feedback-and-re-requesting-review