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

Mac compilation #1

Merged
merged 4 commits into from
Apr 7, 2016
Merged

Mac compilation #1

merged 4 commits into from
Apr 7, 2016

Conversation

ashishnegi
Copy link
Contributor

  1. Added C++11 flag in CMakefile.
  2. Added value of flags of *_VERSION_2_0 :
    • I just copied from that of *_VERSION_1_0. What are the right values ?
    • Added OpenGL/gl.h and string, JNIUtils and PointerUtils header file for compilation.

)

# Enable C++11 Features.
set_property(TARGET JOCLCommon PROPERTY CXX_STANDARD 11)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only change in this file.

@gpu
Copy link
Owner

gpu commented Apr 6, 2016

I'd also pull these tomorrow (I think they also need version 3.1.0 of CMake).

I'm also not sure about the changes in the cl_platform.h - admittedly, I don't understand what macro trickery khronos is doing there. But I'd anyhow update the headers based on https://www.khronos.org/registry/cl/ ASAP (e.g. https://raw.githubusercontent.com/KhronosGroup/OpenCL-Headers/opencl20/cl_platform.h ), and hope that this will not re-introduce the issue with the missing macros.

@gpu gpu mentioned this pull request Apr 6, 2016
@gpu gpu merged commit 39183e2 into gpu:master Apr 7, 2016
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.

2 participants