Git Product home page Git Product logo

aparapi-native's People

Contributors

barneypitt avatar brenzosa avatar corerasurae avatar ekasitk avatar freemo avatar grfrost avatar iotamudelta avatar kishida avatar log2 avatar mailtrv avatar mibrahim avatar plnordquist avatar qunaibit avatar sharptrick avatar subaruwrc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aparapi-native's Issues

Noob question - error running make

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

Compile OpenCL entry-point

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

Add support for other platforms to makefile

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.