This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove PTX link option


On 01/08/2016 10:32 AM, Jakub Jelinek wrote:
On Fri, Jan 08, 2016 at 10:21:16AM -0600, James Norris wrote:
And CU_JIT_TARGET / CU_TARGET_COMPUTE_30 requests JITting only on sm_30 and
nothing else, or just on sm_30 or later, something else?
This really should be reviewed by somebody familiar with CUDA more than
myself.

The former. If one were to execute a program that specified
CU_TARGET_COMPUTE_30 on a Maxwell-class GPU (sm_50), you would
see the runtime error:

libgomp: cuModuleLoadData error: device kernel image is invalid
So, why this didn't get fixed 1.5 years ago?  Are you testing just on sm_30
and not on sm_50?

	Jakub

As the Maxwell GPU's (sm_50) are relatively new, we've only
recently started testing with them.

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]