[Mesa-dev] [PATCH] clover: Allow OpenCL version override

Vedran Miletić vedran at miletic.net
Thu Oct 6 18:03:15 UTC 2016


On 10/06/2016 07:15 PM, Jan Vesely wrote:
> On Thu, 2016-10-06 at 16:26 +0200, Vedran Miletić wrote:
>> CLOVER_CL_VERSION_OVERRIDE allows overriding default OpenCL version
>> supported by Clover, analogous to MESA_GL_VERSION_OVERRIDE for
>> OpenGL.
>> CLOVER_CL_C_VERSION_OVERRIDE allows overridng default OpenCL C
>> version.
> 
> WHat's the use of CL_C_VERSION_OVERRIDE? as implemented it only
> modifies behaviour of the device API query. The specs say that it's
> also the default value of -cl-std used by the compiler. does it makes
> sense to add "cl-std=" option if CLOVER_CL_C_VERSION_OVERRIDE is
> present?
> 
> Jan
> 

You are right, I will look into it.

Thanks,
Vedran

-- 
Vedran Miletić
vedran.miletic.net


More information about the mesa-dev mailing list