-
Notifications
You must be signed in to change notification settings - Fork 14
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
Include examples on how to use opencl3::memory::Image #65
Comments
Hi Ossama, I agree that an image example would be useful. Please feel free to create an example file and submit it as a pull request. |
Have you found out how to use
|
No Ossama, I have found out how to use |
@kenba I've found severals examples written in C++ too. I've tried to replicate the same behavior using your crate, I faced many errors. Similar to @Draghtnod, I could not get the simplest example to work. I am currently using ocl, which works fine. I'll keep trying with your crate, in case I get something working, I'll fill a PR under examples. |
Thank you Ossama (and sorry to @Draghtnod for misidentifying you!). |
Alright I got it working! This is not a bug. It's just tricky to use. First clue was that Which led me to check Checking |
Thank you @Draghtnod. |
@kenba Happy to help. Maybe this helps other people to get started. |
Amazing! thank you @Draghtnod! @kenba now since I have the image working, can I create another example where you execute an openCL script on the image? For instance I can submit a PR on how to normalize the pixels of an image. |
Yes please @Dainerx |
Hello,
I discovered this new crate recently, I couldn't find no examples online nor on this repository on how to work with images. A minimalist example that creates an opencl image using
Image::create
would be helpful enough.I suggest an example that performs a simple copy given an opencl image as input and image buffer as output.
The text was updated successfully, but these errors were encountered: