PrashantChauhan / aparapi

Automatically exported from code.google.com/p/aparapi
Other
0 stars 0 forks source link

Trouble running samples in lambda branch on Kaveri #155

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. checked out lambda branch
2. built native DLL and dependencies, corrected some paths in build.xml and 
env.bat
3. yet, when oopnbody/nbody.bat is run, the dreaded message comes up
FINE: arch = amd64
Sep 25, 2014 3:00:19 PM com.amd.aparapi.OpenCLJNI getOpenCLJNI
FINE: attempting to array_load shared lib aparapi_opencl_x86_64
Sep 25, 2014 3:00:19 PM com.amd.aparapi.OpenCLJNI getOpenCLJNI
WARNING: Check your environment. Failed to array_load aparapi native library 
aparapi_opencl_x86_64 or possibly failed to locate opencl native library 
(opencl.dll/opencl.so). Ensure that both are in your PATH (windows) or in 
LD_LIBRARY_PATH (linux).

Of course there are Okra references too, and they are all unsatisfied, which 
confuses me a little - do I need Okra if I have the HSA hardware and latest 
production (not beta) Catalyst driver?

Kaveri A10-7350B
Windows 7 Pro
Windows SDK for Windows 7
VisualStudio 2010 Express with SP1
patch on top of SP1 to restore 64-bit compilers

Please let me know if I can help you troubleshoot this configuration.

Original issue reported on code.google.com by denk...@gmail.com on 25 Sep 2014 at 10:06

GoogleCodeExporter commented 8 years ago
I am not sure you can run yet on Windows.  Last I was aware the only OKRA 
(hence HSA runtime) binaries that were available were for Ubuntu. 

Maybe someone from AMD can confirm this.  

The lambda/HSA branch requires OKRA+OpenCL+HSA hardware and drivers.  

Gary

Original comment by frost.g...@gmail.com on 25 Sep 2014 at 10:10

GoogleCodeExporter commented 8 years ago
I don't understand if you are trying to use hsa or opencl.
If hsa, that is not supported by catalyst. 
There isnt a windows hsa stack at this time. 

Original comment by ecasp...@gmail.com on 25 Sep 2014 at 10:50

GoogleCodeExporter commented 8 years ago
I see. That is a little disappointing, I was so eager to get my hands on it, 
and now I have a dilemma, whether to try and make dual-boot work on a laptop :) 
EFI is an unpleasant obstacle...

Thanks for promptly setting me straight, I could have spent days trying to 
understand this. I am still unsure of the comment on Catalyst, I think I'm 
seeing HSA dlls there in the driver package,

When are HSA and Okra planned to be multi-platform?

Original comment by denk...@gmail.com on 25 Sep 2014 at 10:57

GoogleCodeExporter commented 8 years ago
As they say,  that's above my pay grade. 

Original comment by ecasp...@gmail.com on 25 Sep 2014 at 11:00

GoogleCodeExporter commented 8 years ago
Yes.  The HSA dll's are only part of the story.  Aparapi uses a Java friendly 
layer (OKRA) to interface with HSA.  

At present it looks like this is only available on Linux. 

I was not aware that you were running on a laptop. Actually I would be 
interested (from Eric maybe) whether OKRA+HSA is known to work on laptops + 
HSA.  I would be interested in buying one myself ;) 

Gary 

Original comment by frost.g...@gmail.com on 25 Sep 2014 at 11:02

GoogleCodeExporter commented 8 years ago
Damn shame that cross-platform concern is not a priority now. 

It's been a partial success. After installing Ubuntu and following the kernel 
installation instructions, HP EliteBook 755 G2 proven built right, with all 
checks passing. So, I'm content my hardware is capable of HSA.

I have to wait while Windows build is up to snuff, I guess, as Ubuntu came 
crushing down hard (some file-system corruption due to either sleep, or 
wireless button press, or whatever) while building HSAIL toolchain. Let me know 
how I can help - I have windows 8 with VS Express 2010 now.

Original comment by denk...@gmail.com on 29 Sep 2014 at 7:48