Re: [Mesa-dev] [PATCH 4/5] clover/llvm: Use -cl-std and device version to select language defaults

2017-07-22 Thread Jan Vesely
On Sat, 2017-07-22 at 13:20 +0200, Pierre Moreau wrote: > Hi Aaron, > > On 2017-07-21 — 23:19, Aaron Watry wrote: > > According to section 5.8.4.5 of the 2.0 spec, the CL C version is chosen by: > > 1) If you have -cl-std=CL1.1+ use the version specified > > 2) If not, use the highest 1.x

Re: [Mesa-dev] [PATCH 4/5] clover/llvm: Use -cl-std and device version to select language defaults

2017-07-22 Thread Pierre Moreau
Hi Aaron, On 2017-07-21 — 23:19, Aaron Watry wrote: > According to section 5.8.4.5 of the 2.0 spec, the CL C version is chosen by: > 1) If you have -cl-std=CL1.1+ use the version specified > 2) If not, use the highest 1.x version that the device supports According to that same part of the

[Mesa-dev] [PATCH 4/5] clover/llvm: Use -cl-std and device version to select language defaults

2017-07-21 Thread Aaron Watry
According to section 5.8.4.5 of the 2.0 spec, the CL C version is chosen by: 1) If you have -cl-std=CL1.1+ use the version specified 2) If not, use the highest 1.x version that the device supports Curiously, there is no valid value for -cl-std=CL1.0 Signed-off-by: Aaron Watry