-
Notifications
You must be signed in to change notification settings - Fork 245
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
Neo OpenCL driver supports already SPV_INTEL_subgroups? #13
Comments
SPV_INTEL_subgroups is not yet supported. |
Continuing the SPIR-V consumption disucssion from KhronosGroup/SPIRV-LLVM#228:
We do support SPIR-V consumption on shipping Windows and Linux drivers (including the driver in this repo), but as mentioned above we do not currently support our OpenCL extensions via SPIR-V. We do intend to support some of our OpenCL extensions via SPIR-V in the future though, and you're seeing the first signs of this via the SPIR-V generator support for SPV_INTEL_subgroups.
Interesting, this was a placeholder name for the feature that became cl_intel_subgroups when it was in development. I suspect this section of code was added so these kernels could run on preproduction drivers that used the old interfaces. It's dead code now though, and can safely be removed / ignored.
We're very curious to hear more about your SPIR-V plans for subgroups, so feel free to reach out to us (in public, or in private via email) if you can tell us more about your use case. You might also be interested in the Intel clDNN library, which contains additional optimized fp16 kernels for machine learning, if you haven't seen it already. |
Looks like questions were answered, if anything is still unclear feel free to reopen. |
Hi,
I'm very interested in this extension as it seems to provide support for cl_intel_subgroups & cl_intel_subgroups_short extensions to SPIR-V world..
don't know if extension is official yet or not..
it's strange because it can't be found on SPIR-V extension registry:
https://www.khronos.org/registry/spir-v/
but appers on:
https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.pdf
or commits like:
[Mesa-dev] [PATCH 03/10] spirv: Import the latest 1.0.12 header and JSON from Khronos
just found by inspection that Khronos SPIRV-LLVM compiler already supports it:
KhronosGroup/SPIRV-LLVM@4496e89
it also there support for Clang
"CLANG support for cl_intel_subgroups and cl_intel_subgroups_short"
KhronosGroup/SPIR@7ad2092
I was lazy and still don't compiled these to projects jointly with neo opencl driver to see if SPIRV kernels using these cl_intel_subgroups_* capabilities run correctly on Neo..
I thought I could avoid compiling Khronos SPIR and SPIRV-LLVM projects by using Intel OpenCL code builder from Intel OpenCL SDK that supports generating also SPIR-V code from kernels from a nice GUI..
I tested with latest version avaiable (Intel® SDK for OpenCL™ Applications 2017 R2 version 7.0.0.2567) and it doesn't worked (of course generating OpenCL vendor specific binary for Intel HD graphics using kernel using this cl_intel_subgroups_* extension worked correctly..
so guess it's will be in Intel OpenCL SDK 2018 whenever it comes out, right?
of course when I say if Neo supports this SPV extension I also mean the OpenCL Neo driver that has started appearing included on recent Windows drivers for example on 23.20.16.4933..
wait you to enlighten me on all this questions..
The text was updated successfully, but these errors were encountered: