Skip to content

compiler note about ABI being changed in GCC 4.6 #310

@RABijl

Description

@RABijl

when using a cl_ulong4, the following compiler note shows up:

/home/rabijl/Projects/pocl-2/pocld/../include/hpp/CL/opencl.hpp: In member function ‘cl_int cl::CommandQueue::enqueueFillBuffer(const cl::Buffer&, PatternType, cl::size_type, cl::size_type, cl::vector<cl::Event>*, cl::Event*) const [with PatternType = cl_ulong4]’:
/home/rabijl/Projects/pocl-2/pocld/../include/hpp/CL/opencl.hpp:7679:12: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
 7679 |     cl_int enqueueFillBuffer(
      |            ^~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions