Skip to content

Question: possible to test OpenCL 3.0 on Skylake via ForceOCLVersion? #326

@oscarbg

Description

@oscarbg

Hi,
just seeing latest release support OpenCL 3.0 on Tigerlake (unreleased hardware) have two questions:

  1. can share if Intel is going to enable eventually OpenCL 3.0 on older GPU generations, like Gen9 (skylake)?

I say because at Khronos press release of OpenCL 3.0 it was said all features beyond 1.2 are now optional so really all implementations supporting OpenCL 1.2 should be able to expose OpenCL 3.0 like said Gen9..

  1. even better yet.. there is some way to test OpenCL 3.0 right now on Gen9 or similar?
    I say because there seems to be a ForceOCLVersion flag that seems to be an enviroment variable so running:
    ForceOCLVersion=30 clinfo
    should report OpenCL 3.0?
    it is said in forums like:
    https://software.intel.com/en-us/forums/opencl/topic/843037
    but testing:
    ForceOCLVersion=12 clinfo
    on current Neo doesn't seem to downgrade OCL version..
    it's because requires to build Neo driver with in some debug mode that posted release builds aren't supporting?
    also I see in:
    https://gitlab.com/UbikBSD/WayKara/clComputeRuntime/commit/878fd43a1a9cbd61ea5ab066b684ee0e0860d781
    that maybe should be possible to create a igdrcl.config file with:
    ForceOCLVersion = 30
    on program path and that should force OpenCL version too..
    but also running clinfo with that file I see no changes to reported version..

hope you can solve my doubts..

thanks..
Oscar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions