-
Notifications
You must be signed in to change notification settings - Fork 789
[OpenCL] Add OpenCL CPU RT code #8216
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
Conversation
The compilation support for this code is not included yet. We will submit it in another patch. It only contains the code we want to land. |
buildbot/configure.py
Outdated
|
||
if args.bldocl or args.bldfpgaemu: | ||
llvm_external_projects += ';opencl-cpu' | ||
|
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.
These components should be enabled when args.ci_defaults is true to build them in CI.
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.
@cdai2, please, address this comment.
I also recommend moving "Transform passes to support SYCL and OCL and LIT test cases for them" to a separate patch. It doesn't require changes in build scripts except CMake changes and will make it easier to review.
Please, provide instructions for reviewers how to review changes. GitHub is not able to display the full diff.
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 tried to enable opencl-cpu build under args.ci_defaults arguments according to my understanding. Please correct me if it's not true.
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.
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.
As this PR is to upload these files for the first time. I have no idea to display the diff for it.
I think a major part of the diff is the content of opencl/
directory. I suggest we keep changes in files outside of this directory in separate commits and you can ask code owners to review specific commits only and ignore the commits with changes in opencl/
directory. I assume that @intel/ocl-cpu-rt-write team is already reviewed the content of the opencl/
directory and can approve it. If not, the only idea I have is to pull the source code locally and review it locally.
9b0191f
to
7de27eb
Compare
7de27eb
to
107358d
Compare
@cdai2 pass registration code isn't uploaded yet? |
landed again. |
Do you mean you can't remove them? |
Why are there binary .dlls included in this PR? |
There are also several external dependencies that have been copied into this source tree. Shouldn't these be dynamically pulled in by the configuration step? |
fe9a8fe
to
3e5820a
Compare
They are generated during compilation for test cases. We will remove. thanks |
Yes, We have plan to pull in them during configuration step. we will update it. thanks |
It includes the OpenCL CPU RT, Transform passes to support SYCL and OCL and LIT test cases for them.
.