Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes API discrepancy #31

Merged
merged 1 commit into from
Jun 6, 2014
Merged

Fixes API discrepancy #31

merged 1 commit into from
Jun 6, 2014

Conversation

vchuravy
Copy link
Member

@vchuravy vchuravy commented Jun 5, 2014

@SimonDanish found this discrepancy from the OpenCL API.
clCreateContext accepts an Array of CL_context_properties hence we should give it a Ptr like in clCreateContextFromtType.

Also I should propably write a test for that.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.56%) when pulling fa48a75 on vchuravy:fix-api-clCreateContext into 7f6717d on JuliaGPU:master.

@vchuravy vchuravy changed the title fixes error in api for createContext Fixes API discrepancy Jun 5, 2014
jakebolewski added a commit that referenced this pull request Jun 6, 2014
@jakebolewski jakebolewski merged commit 661bf60 into JuliaGPU:master Jun 6, 2014
@jakebolewski
Copy link
Member

Nice catch!

@vchuravy vchuravy deleted the fix-api-clCreateContext branch June 6, 2014 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants