Re: [PATCH][nvptx] Add -mptx=3.1/6.3

2021-05-12 Thread Tom de Vries
On 5/12/21 5:50 PM, Tobias Burnus wrote: > Hi, > > On 12.05.21 16:10, Tom de Vries wrote: >> Add nvptx option -mptx that sets the ptx ISA version.  This is currently >> hardcoded to 3.1. >> Tested libgomp on x86_64-linux with nvptx accelerator, both with >> default set to >> 3.1 and 6.3. >> Any co

Re: [PATCH][nvptx] Add -mptx=3.1/6.3

2021-05-12 Thread Tobias Burnus
Hi, On 12.05.21 16:10, Tom de Vries wrote: Add nvptx option -mptx that sets the ptx ISA version. This is currently hardcoded to 3.1. Tested libgomp on x86_64-linux with nvptx accelerator, both with default set to 3.1 and 6.3. Any comments? :-) ISA 3.1 = CUDA 5 (supporting sm_10 to sm_{30,35}

[PATCH][nvptx] Add -mptx=3.1/6.3

2021-05-12 Thread Tom de Vries
Hi, Add nvptx option -mptx that sets the ptx ISA version. This is currently hardcoded to 3.1. Tested libgomp on x86_64-linux with nvptx accelerator, both with default set to 3.1 and 6.3. Any comments? Thanks, - Tom [nvptx] Add -mptx=3.1/6.3 gcc/ChangeLog: 2021-05-12 Tom de Vries