syncleus / aparapi-native Goto Github PK
View Code? Open in Web Editor NEWA framework for executing native Java code on the GPU.
Home Page: http://aparapi.com
License: Apache License 2.0
A framework for executing native Java code on the GPU.
Home Page: http://aparapi.com
License: Apache License 2.0
Are you planning to build native bindings for Mac OSX ?
Hi,
I was just trying to build this on my Ubuntu 16.04.2 and got this error:
In file included from src/cpp/runKernel/Aparapi.h:43:0,
from src/cpp/runKernel/Aparapi.cpp:44:
src/cpp/Common.h:57:19: fatal error: CL/cl.h: No such file or directory
compilation terminated.
Makefile:558: recipe for target 'src/cpp/runKernel/libaparapi_la-Aparapi.lo' failed
make: *** [src/cpp/runKernel/libaparapi_la-Aparapi.lo] Error 1
Any idea what might be wrong? I've not dealt with C++ or makefiles for years...
With regards, Logi
Hi,
there is a strange behaviour when trying to execute a kernel with an entry point other than "run":
On the java-side the entry-point is checked fine, and the OpenCL source is generated for the custom entry-point.
But when trying to compile it in com.aparapi.internal.kernel.KernelRunner.java:1543 the custom entry-point is not given to the native call.
And in aparapi-native/src/cpp/runKernel/Aparapi.cpp : 1338 the kernel seams to be compiled with the "run" entry-point which fails for obvious reasons as there is no "run" method in the OpenCL source.
Afterwards this whole generating + compilation is tried for the next candidate (the CPU) which also fails.
I would have tried to change in Aparapi.cpp : 1338 "run" to the custom entry-point but was not able to compile to verify if this would be enough.
kind regards
It's not possible to run the prepare.sh successfully with a JDK greater then 8. The javah command was removed and its forced to use the javac -h option.
The current workaround: use a JDK8
We need to update the libtool chain to ensure it is capable of compiling on both OSX and Windows. The code is already compiled under windows and OSX using the existing source code. So this should be possible by simply updating the libtool configuration files.
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.