RE: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-09-10 Thread Prathamesh Kulkarni
> -Original Message- > From: Thomas Schwinge > Sent: Tuesday, September 10, 2024 8:19 PM > To: Prathamesh Kulkarni ; Richard Biener > > Cc: Andrew Pinski ; gcc-patches@gcc.gnu.org; Jakub > Jelinek > Subject: RE: [nvptx] Pass -m32/-m64 to host_compiler if i

RE: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-09-10 Thread Thomas Schwinge
Hi Prathamesh! On 2024-09-10T13:22:10+, Prathamesh Kulkarni wrote: >> -Original Message- >> From: Thomas Schwinge >> Sent: Monday, September 9, 2024 8:50 PM >> > Could you please test the patch for gcn backend ? I've successfully tested x86_64 host with GCN as well as nvptx offload

RE: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-09-10 Thread Prathamesh Kulkarni
> -Original Message- > From: Thomas Schwinge > Sent: Monday, September 9, 2024 8:50 PM > To: Prathamesh Kulkarni ; Richard Biener > > Cc: Andrew Pinski ; gcc-patches@gcc.gnu.org; Jakub > Jelinek > Subject: RE: [nvptx] Pass -m32/-m64 to host_compiler if i

RE: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-09-09 Thread Thomas Schwinge
Hi Prathamesh! On 2024-09-09T06:31:18+, Prathamesh Kulkarni wrote: >> -Original Message- >> From: Thomas Schwinge >> Sent: Friday, September 6, 2024 2:31 PM >> On 2024-08-16T15:36:29+, Prathamesh Kulkarni >> wrote: >> >> > Am 13.08.2024 um 17:48 schrieb Thomas Schwinge >> >> : >

RE: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-09-08 Thread Prathamesh Kulkarni
> -Original Message- > From: Thomas Schwinge > Sent: Friday, September 6, 2024 2:31 PM > To: Prathamesh Kulkarni ; Richard Biener > > Cc: Andrew Pinski ; gcc-patches@gcc.gnu.org; Jakub > Jelinek > Subject: RE: [nvptx] Pass -m32/-m64 to host_compiler if i

RE: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-09-06 Thread Thomas Schwinge
Hi! On 2024-08-16T15:36:29+, Prathamesh Kulkarni wrote: >> > Am 13.08.2024 um 17:48 schrieb Thomas Schwinge >> : >> > On 2024-08-12T07:50:07+, Prathamesh Kulkarni >> wrote: >> >>> From: Thomas Schwinge >> >>> Sent: Friday, August 9, 2024 12:55 AM >> > >> >>> On 2024-08-08T06:46:25-0700,

Re: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-08-19 Thread Richard Biener
On Thu, 8 Aug 2024, Prathamesh Kulkarni wrote: > Hi Richard, > After differing NUM_POLY_INT_COEFFS fix for AArch64/nvptx offloading, the > following minimal test: > > int main() > { > int x; > #pragma omp target map(x) > x = 5; > return x; > } > > compiled with -fopenmp -foffload=nvpt

RE: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-08-16 Thread Prathamesh Kulkarni
> -Original Message- > From: Richard Biener > Sent: Tuesday, August 13, 2024 10:06 PM > To: Thomas Schwinge > Cc: Prathamesh Kulkarni ; Andrew Pinski > ; gcc-patches@gcc.gnu.org; Jakub Jelinek > > Subject: Re: [nvptx] Pass -m32/-m64 to host_compiler if i

Re: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-08-13 Thread Richard Biener
> Am 13.08.2024 um 17:48 schrieb Thomas Schwinge : > > Hi Prathamesh! > > On 2024-08-12T07:50:07+, Prathamesh Kulkarni > wrote: >>> From: Thomas Schwinge >>> Sent: Friday, August 9, 2024 12:55 AM > >>> On 2024-08-08T06:46:25-0700, Andrew Pinski wrote: On Thu, Aug 8, 2024 at 6:11

RE: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-08-13 Thread Thomas Schwinge
Hi Prathamesh! On 2024-08-12T07:50:07+, Prathamesh Kulkarni wrote: >> From: Thomas Schwinge >> Sent: Friday, August 9, 2024 12:55 AM >> On 2024-08-08T06:46:25-0700, Andrew Pinski wrote: >> > On Thu, Aug 8, 2024 at 6:11 AM Prathamesh Kulkarni >> > wrote: >> >> After differing NUM_POLY_INT_

RE: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-08-12 Thread Prathamesh Kulkarni
> -Original Message- > From: Thomas Schwinge > Sent: Friday, August 9, 2024 12:55 AM > To: Prathamesh Kulkarni > Cc: Andrew Pinski ; Richard Biener > ; gcc-patches@gcc.gnu.org; Jakub Jelinek > > Subject: Re: [nvptx] Pass -m32/-m64 to host_compiler if i

Re: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-08-08 Thread Thomas Schwinge
Hi Prathamesh! On 2024-08-08T06:46:25-0700, Andrew Pinski wrote: > On Thu, Aug 8, 2024 at 6:11 AM Prathamesh Kulkarni > wrote: >> After differing NUM_POLY_INT_COEFFS fix for AArch64/nvptx offloading, the >> following minimal test: First, thanks for your work on enabling this! I will say that

Re: [nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-08-08 Thread Andrew Pinski
On Thu, Aug 8, 2024 at 6:11 AM Prathamesh Kulkarni wrote: > > Hi Richard, > After differing NUM_POLY_INT_COEFFS fix for AArch64/nvptx offloading, the > following minimal test: > > int main() > { > int x; > #pragma omp target map(x) > x = 5; > return x; > } > > compiled with -fopenmp -fo

[nvptx] Pass -m32/-m64 to host_compiler if it has multilib support

2024-08-08 Thread Prathamesh Kulkarni
ost_compiler on HOST_MULTILIB. I verified that the macro is set to 0 for aarch64 host (and thus avoids above unrecognized command line option error), and is set to 1 for x86_64 host. Does the patch look OK ? Signed-off-by: Prathamesh Kulkarni Thanks, Prathamesh [nvptx] Pass -m32/-m64 to host_com