HomePhabricator

[OpenCL] Undefine cl_intel_planar_yuv extension

Description

[OpenCL] Undefine cl_intel_planar_yuv extension

Summary:

Remove unnecessary definition (otherwise the extension will be defined
where it's not supposed to be defined).

Consider the code:

#pragma OPENCL EXTENSION cl_intel_planar_yuv : begin
// some declarations
#pragma OPENCL EXTENSION cl_intel_planar_yuv : end

is enough for extension to become known for clang.

Patch by: Dmitry Sidorov <dmitry.sidorov@intel.com>

Reviewers: Anastasia, yaxunl

Reviewed By: Anastasia

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58666

Details

Committed
asavonicJun 3 2019, 6:02 AM
Reviewer
Anastasia
Differential Revision
D58666: [OpenCL] Undefine cl_intel_planar_yuv extension
Branches
Unknown
Tags
Unknown