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

.s[0] + CL_DEVICE_TYPE_ALL #313

Merged
merged 2 commits into from Mar 26, 2017

Conversation

Projects
None yet
2 participants
@cirosantilli
Contributor

cirosantilli commented Mar 24, 2017

#309 + #311 but on the right branch.

cirosantilli added some commits Mar 22, 2017

Use .s[0] instead of .x in example_ctrsm.c
.s is more portable, and .x does not work with -std=c99 which
does not have anonymous structs.

Fix #307.
Use CL_DEVICE_TYPE_ALL for all samples.
This increases the chance that they will just work for most users.

Previously there was a mixture of CPU and GPU, which only works
if users have both CPU and GPU OpenCL devices.

@tingxingdong tingxingdong merged commit a5c35fc into clMathLibraries:develop Mar 26, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment