-
Notifications
You must be signed in to change notification settings - Fork 171
Tool to compile .cl files #38
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
Comments
Could you clarify why? ocloc has a build-time dependency on NEO (to make sure we have consistent behavior between offline and online compilation), but there is no run-time dependency on igdrcl.so |
Thank you @alalek for the request. We are looking into the feasibility of this internally and will get back to you shortly. |
@paigeale @AnupamaChandrasekhar |
Not sure what you mean, compiled OpenCL kernel cannot run without runtime supports: enqueue kernel, setup memory etc. |
Original problem is a regression of Intel OpenCL releases (3 week releases in a row). But capturing of kernel ISA and disassembling shows regressions from IGC side. I would like to perform "bisect" work myself, to find commits which cause changes/regressions. And to prepare minimal reproducer for IGC only (good reproducers don't require external dependencies, in this case - it is compute-runtime). But:
I hope the reasons of this request are more clear now. |
Hi, @cmc-rep I hope the following question is more clear:
|
Hello alalek/xuchongyang1995, After conferring internally with the compute runtime team and the IGC team we have decided to keep the existing ocloc tool as the only tool we use to compile OpenCL code. Though we have agreed on making changes to loosen the dependency that the runtime and IGC have. I will update this thread when this interface change has been made in ocloc. This should allow for the swapping of compiler libraries in the future. I appreciate your patience. Thanks, |
Could you confirm that the changes for loosening the dependencies between NEO and IGC are available in latest release? Thanks, |
it's not in latest release yet (could be in the next one though). Here's the commit : intel/compute-runtime@425dad3. Small clarification/disclaimer : this loosens dependency between ocloc and IGC, not between NEO and IGC. |
Question or feature request.
Is there tool (build target) in this repository which can be used to compile
.cl
files into ISA.At least it is necessary to simplify "git bisect" work (no need to search compatible runtime and recompile it too).
Currently found these tools:
Need tool similar to cloc (renamed ocloc), but without requirement of compatible OpenCL runtime?
Expected input for such tool:
Expected output format:
Also please consider adding some basic subset of tests for IGC.
The text was updated successfully, but these errors were encountered: