Skip to content

public CLContext createContext(CLDevice... devices) creates context on only one device #6

@ochafik

Description

@ochafik

Hi

It would seem line 199 in CLPlatform is incorrect,
it always creates a context on only 1 device:

cl_context context = CL.clCreateContext(null, 1, ids, null, null, errRef);

while it probably should read

cl_context context = CL.clCreateContext(null, nDevs, ids, null, null,
errRef);

or?

Google Code Info:
Issue #: 4
Author: gigu...@gmail.com
Created On: 2009-10-10T13:03:45.000Z
Closed On: 2009-10-10T15:09:07.000Z

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions