Skip to content

clCreateProgramWithBinary will be called with NULL pointers as parameter if in_numBinaries >= m_numDevices #22

@2nhuber

Description

@2nhuber

In clu_runtime.cpp in the binary version of CLU_Runtime::BuildProgram there is a bug, if in_numBinaries >= m_numDevices. In this case pLengths and pBinaries will be NULL, which are passed to clCreateProgramWithBinary.

It seems that a else branch is missing in line 693.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions