Skip to content

bad parameter in call to clGetDeviceIDs() #1

@richgel999

Description

@richgel999

The first parameter is wrong:

ret = clGetDeviceIDs( platforms[1], CL_DEVICE_TYPE_ALL, 1,
&device_id, &ret_num_devices);

It should be platforms[0], or it won't run on an NVidia GPU.

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