ajkxyz / opencl4py Goto Github PK
View Code? Open in Web Editor NEWPython cffi OpenCL bindings and helper classes
License: Other
Python cffi OpenCL bindings and helper classes
License: Other
Hi, I've been using this library and it is working much better for me than pyopencl. Unfortunately it seems to be lacking support for images. Has this been worked on? Are their plans to add it?
Traceback (most recent call last):
File "H:\vaa\2014\06\15\TestPython\test_api.py", line 41, in
import opencl4py as cl
File "C:\Python27\lib\site-packages\opencl4py__init__.py", line 41, in
from opencl4py._py import Platforms, Context, CLRuntimeError
File "C:\Python27\lib\site-packages\opencl4py_py.py", line 39, in
import opencl4py._cffi as cl
File "C:\Python27\lib\site-packages\opencl4py_cffi.py", line 39, in
import cffi
ImportError: No module named cffi
Hello,
I used to use OpenCL with FPGA, the OpenCL project has two code, the kernel and the host, the host is written in C++ but I want to use it with python, as Im new here, can I use opencl4py for that? take in account that the kernel code I compile it with SDK Altera OpenCL compiler to get the file which I use it to configure the FPGA to have Kernel. becuse I see that you writte the kernel code with host code.
Thank you in advance
"Releases" do not display anything since 1.0.2 - please add tags.
Hi there,
I'm the author of PyOpenCL, which you may have heard of. I'm writing to understand your reasoning for starting this project. I found some indication here, but I'm still not completely following--if this is an issue, why not delay importing PyOpenCL until it's actually used (e.g within a function)? I don't see the motivation here to start a whole new project, with an interface that seems different just to be different...
FWIW, PyOpenCL has a cffi branch that runs on PyPy and is complete enough to run kernels. I'd be delighted to work together on that.
In any case, if you'd like to launch a competing OpenCL wrapper for Python, it's clearly not my place to be telling you how to spend your time. I'm just suggesting that we might get further by working together.
Looking forward to hearing from you,
Andreas
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.