Open GoogleCodeExporter opened 9 years ago
Let me update this post, setting GPU_MAX_ALLOC_PERCENT = 100 did in-fact change
clinfo output to report almost exactly %100 usage of the global GPU RAM. I will
test this in Aparapi now...
Original comment by ryan.lam...@gmail.com
on 12 Mar 2013 at 4:55
Here is the behavior that I am seeing on my AMD W9000 (log output from my app)
when comment #1 is applied:
OpenCL globalMemSize: 6.4 GB
OpenCL maxMemAllocSize: 6.2 GB
SubTotalMemSize: 4.8 GB (the size we're trying to allocate)
Range: 2D(global:4096x4096 local:(derived)16x16)
...
Mar 12, 2013 12:39:59 PM com.amd.aparapi.internal.kernel.KernelRunner
executeOpenCL
WARNING: ### CL exec seems to have failed. Trying to revert to Java ###
Original comment by ryan.lam...@gmail.com
on 12 Mar 2013 at 7:46
Ryan, my understanding (and I can't recall where I heard this) is that you
can't get access to more than 50% of the 'available' memory. Does this gel with
your experiments?
Original comment by frost.g...@gmail.com
on 12 Mar 2013 at 7:48
Yes, it seems to be a rather arbitrary, vendor dependent, ceiling. What we
struggle with is understanding why that is a limitation at all and if there is
some way to either programatically or otherwise (env variables) resolve the
issue.
It is practically inexcusable to suggest customers buy very expensive hardware,
such as a 6GB DDR5 AMD W9000 and then see that only 2GB of the RAM can be used
at any one time.
It seems OpenCL has an arbitrary limitation set on individual memory
allocations and it appears that there is a lot of confusion in various places
as to whether this is an actual limitation or not and how to work-around or
deal with it.
Original comment by ryan.lam...@gmail.com
on 12 Mar 2013 at 7:56
Original comment by ryan.lam...@gmail.com
on 12 Mar 2013 at 7:57
This has also been the major impetus to continue looking for "streaming" or
"overlapping compute" solutions with Aparapi.
Original comment by ryan.lam...@gmail.com
on 12 Mar 2013 at 8:00
Original issue reported on code.google.com by
ryan.lam...@gmail.com
on 12 Mar 2013 at 4:53