Bug report #19984

opencl warnings when building on ubuntu 'cosmic' 18.10

Added by Mathieu Pellerin - nIRV about 3 years ago. Updated about 3 years ago.

Status:Closed
Priority:Low
Assignee:Alessandro Pasotti
Category:Unknown
Affected QGIS version:3.3(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27806

Description

When building QGIS with OpenCL enabled on ubuntu 'cosmic' 18.10, this warning gets repeated a number of times:

In file included from /usr/include/CL/cl.h:36,
                 from /usr/include/CL/opencl.h:47,
                 from /usr/include/CL/cl2.hpp:506,
                 from /home/webmaster/dev/cpp/QGIS/src/core/qgsopenclutils.h:24,
                 from /home/webmaster/dev/cpp/QGIS/src/analysis/raster/qgsninecellfilter.cpp:27:
/usr/include/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
 #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")

Associated revisions

Revision 9244d3fd
Added by Alessandro Pasotti about 3 years ago

Fix opencl build warning

Fixes #19984

History

#1 Updated by Alessandro Pasotti about 3 years ago

  • Status changed from Open to In Progress

#2 Updated by Alessandro Pasotti about 3 years ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Anonymous about 3 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF