Coder Social home page Coder Social logo

Compiler warnings about opencl-clhpp HOT 6 CLOSED

khronosgroup avatar khronosgroup commented on August 16, 2024
Compiler warnings

from opencl-clhpp.

Comments (6)

roy7 avatar roy7 commented on August 16, 2024

I'm not sure if #34 might fix some of these already. :)

from opencl-clhpp.

jrprice avatar jrprice commented on August 16, 2024

Yes, the type qualifiers ignored on function return type warning should be fixed. The ignoring attributes on template argument warning is more problematic though - this isn't specific to the C++ bindings and happens with any C++ code that declares something like a std::vector<cl_int>.

from opencl-clhpp.

 avatar commented on August 16, 2024

What do you think about silencing these in this upstream code like Vc? VcDevel/Vc#164

from opencl-clhpp.

jrprice avatar jrprice commented on August 16, 2024

I've been debating this internally, but I think I'd be open to accepting a PR that uses those GCC pragmas to disable that warning for cl2.hpp.

from opencl-clhpp.

sethtroisi avatar sethtroisi commented on August 16, 2024

seems like this was fixed here in #47
and in LZ with leela-zero/leela-zero@c72cb3a

from opencl-clhpp.

roy7 avatar roy7 commented on August 16, 2024

Thanks for the heads up @sethtroisi!

from opencl-clhpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.