On 12/02/15 11:35, Jakub Jelinek wrote:
On Wed, Dec 02, 2015 at 06:44:11PM +0300, Alexander Monakov wrote:
But you never know if people actually use #pragma omp simd regions or not,
sometimes they will, sometimes they won't, and if the uniform SIMT
increases
power consumption, it might not be desirable.

It's easy to address: just terminate threads 1-31 if the linked image has
no SIMD regions, like my pre-simd libgomp was doing.

Well, can't say the linked image in one shared library call a function
in another linked image in another shared library?  Or is that just not
supported for PTX?  I believe XeonPhi supports that.

I don't believe PTX supports such dynamic loading within the PTX program currently being executed. The JIT compiler can have several PTX 'objects' loaded into it before you tell it to go link everything. At that point all symbols must be resolved. I've no idea as to how passing a pointer to a function in some other 'executable' and calling it might behave -- my suspicion is 'badly'.


Reply via email to