Comments (7)
Alex do you get any errors during the build?
In the com.amd.aparapi.jni/build.xml
You will see this target
<target name="gcc" if="use.gcc">
<mkdir dir="${basedir}/dist"/>
<echo message="linuxcc ${os.arch}" />
<exec executable="g++">
<arg value="-O3" />
<arg value="-g" />
<arg value="-fPIC" />
<arg value="-I${java.home}/../include" />
<arg value="-I${java.home}/../include/linux" />
<arg value="-Iinclude" />
<arg value="-I${amd.app.sdk.dir}/include" />
<arg value="-shared" />
<arg value="-o" />
<arg value="${basedir}/dist/libaparapi_${x86_or_x86_64}.so" />
<arg value="src/cpp/aparapi.cpp" />
<arg value="-L${amd.app.sdk.dir}/lib/${x86_or_x86_64}" />
<arg value="-lOpenCL" />
</exec>
</target>
Can you add say
<echo message="COMPILING WITH GCC!!!!!!"/>
After the line
<target name="gcc" if="use.gcc">
I want to just check that ant is at leas attempting to do the right thing.
Gary
Original comment by [email protected]
on 2 Apr 2012 at 2:51
from aparapi.
I added the line and then i ran:
ant clean build dist | grep GCC
This gives 2 hits when building:
[echo] COMPILING WITH GCC!!!!!!
[exec] Result: 1
[echo] COMPILING WITH GCC!!!!!!
[exec] Result: 1
As for errors, running:
ant clean build dist | grep error
Gives:
[exec] src/cpp/aparapi.cpp:291:7: error: ‘boolean’ does not name a type
[exec] src/cpp/aparapi.cpp:891:17: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] src/cpp/aparapi.cpp:1032:33: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] src/cpp/aparapi.cpp:1033:34: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] src/cpp/aparapi.cpp:1883:69: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] src/cpp/aparapi.cpp:1898:65: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] Result: 1
[exec] src/cpp/aparapi.cpp:291:7: error: ‘boolean’ does not name a type
[exec] src/cpp/aparapi.cpp:891:17: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] src/cpp/aparapi.cpp:1032:33: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] src/cpp/aparapi.cpp:1033:34: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] src/cpp/aparapi.cpp:1883:69: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] src/cpp/aparapi.cpp:1898:65: error: ‘class ProfileInfo’ has no member named ‘valid’
[exec] Result: 1
Original comment by [email protected]
on 2 Apr 2012 at 3:06
from aparapi.
Alex,
Thanks for reporting, our MacOS users noted this a few weeks ago, but I assumed
it
was a MacOS fix only. Apologies, let me check in a fix.
The type should be 'bool' not 'boolean' at line 291 of src/cpp/aparapi.cpp.
I will make the change in SVN.
Were you syncing with SVN? or using the zip download?
Thank you for reporting, this was my bad. Clearly I need to build on
linux more frequently.
Gary
Original comment by [email protected]
on 2 Apr 2012 at 3:29
from aparapi.
I am syncing with SVN.
Thanks for the quick response :).
I will be building on linux frequently so I will also be reporting bugs on
linux.
Original comment by [email protected]
on 2 Apr 2012 at 3:44
from aparapi.
I just made the change. Actually the type should have been jboolean.
If you sync with r390 (the latest) you should be good to go.
Thanks for keeping me honest :)
Original comment by [email protected]
on 2 Apr 2012 at 3:57
from aparapi.
Original comment by [email protected]
on 2 Apr 2012 at 4:06
- Changed state: Fixed
from aparapi.
Confirming fixed in r390.
Original comment by [email protected]
on 2 Apr 2012 at 4:10
from aparapi.
Related Issues (20)
- Invoking kernels with single boolean fields in kernel causes NoSuchFieldError in JNI
- Problem when running with NVIDIA GPUs HOT 8
- Generating OpenCL
- Patch for /trunk/samples/add/src/com/amd/aparapi/sample/add/Main.java
- fatal error when disposing a 2D float execution kernel HOT 2
- Failed to load aparapi native library
- 2D arrays management HOT 2
- FFT Extension example fails to run HOT 1
- Add support for Intel Xeon Phi
- Trouble running samples in lambda branch on Kaveri HOT 6
- Release in the downloads section is old and no guide on how to compile on Mac HOT 1
- High total processing/running time on GPU mode w/Aparapi HOT 2
- Aparapi can't find OpenCL HOT 21
- Mandel Works Fine With The GPU But, When I Run My Code From BlueJ It Doesn't Work HOT 1
- Can i Run Aparapi on "Nvidia Gpu" or "Intel Gpu"? HOT 4
- Missing Sync or Volatile with Aparapi HOT 2
- Dump modified Java bytecode HOT 4
- Please update the tutorial about HSA settings
- Adding Vector data type at Aparapi HOT 1
- OpenCL compile fails... sometimes? (w/ Processing)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aparapi.