-
Notifications
You must be signed in to change notification settings - Fork 33
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
SomeFeatures #19
Comments
As OpenCL is an open standard specification, each GPU vendor has its own corresponding OpenCL implementations. Vendor would also provide a share library (ICD loader) as the APIs entry dispatcher on target platform, for example, libOpenCL.so or libintelocl.so ... etc. Basically, |
I assumed what you're saying "fitness function", in fact, yes ! |
Hi @arita37 The followings are my replies:
Yes, it is compatible with NVidia Card. We are using NVidia GPU Card for testing. If you are using NVidia Card, you may download the driver and get more information: here
Yes, the object must be implemented in C. Don't worry. We will implement a compiler to convert objective function from python to C in the future, see #7 . BTW, you may find our simple tsp example to know it is not hard to implement it in C. |
Hello,
Sounds good.
What about having Python wrapper to use the library ?
PyGMO uses Python wrapper to encapsulate the C code.
So this is very convenient.
Your project looks good.
Kind regards
Kevin
On 29 Dec 2016, at 10:11, John Hu <[email protected]> wrote:
Hi @arita37
The followings are my replies:
How PyOpenCL compatible with NVidia Card ?
Yes, it is compatible with NVidia Card. We are using NVidia GPU Card for testing. If you are using NVidia Card, you may download the driver and get more information: here
Is the objective function "converted/implemented" on the GPU side (evaluation is done on GPU) ?
Yes, the object must be implemented in C.
Don't worry. We will implement a compiler to convert objective function from python to C in the future, see #7 .
BTW, you may find our simple tsp example to know it is not hard to implement it in C.
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks for the suggestion. I will check PyGMO to learn more on python wrapper since I am not a very good python programmer..... |
Hello,
Sounds good, I can help your project on Python wrapper.
Python has natural interface to C++
Pybingen 11 is a good one (better than Boost)
Best reference. for Python / PybinGen tutorial
https://goo.gl/XnAjrx
https://github.com/gjcarneiro/pybindgen
Also, there is PyCUDA in Python to create Cuda code...
(using C++ code classes directly in Python), an example :
https://goo.gl/ztd0AK
Cheers.
John Hu wrote:
…
@arita37 <https://github.com/arita37>
Thanks for the suggestion. I will check PyGMO to learn more on python
wrapper since I am not a very good python programmer.....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>, or
mute the thread
<https://github.com/notifications/unsubscribe-auth/AR10p_hrt4e4JrecqysiijY79iFWm1C0ks5rNGvugaJpZM4LXAtj>.
|
Great... It would be nice to have a python wrapper for the implementation of objective function.... If possible, please help us to have such kind of feature. |
Hello,
This is an interesting project. Some questions:
How PyOpenCL compatible with NVidia Card ?
Is the objective function "converted/implemented" on the GPU side (evaluation is done on GPU) ?
Thanks, regards
The text was updated successfully, but these errors were encountered: