[Patch] GCN: Initial generic-target handling (was: [PATCH] amdgcn: Refactor device settings into a def file)

2024-10-21 Thread Tobias Burnus
I have now attached a proper version of my patch, which is relative to your patch. OK once your patch is in? * * * This adds -march=gfx10-3-generic and -march=gfx11-generic support to the compiler, permitting in principle to compile one binary for all gfx103x and gfx11xx GPUs, respectively.

Re: [PATCH] amdgcn: Refactor device settings into a def file

2024-10-21 Thread Tobias Burnus
Hi Andrew, it it looks good at a glance. We surely will need add more columns in the future. In particular, I would add a new first column for the generic version, albeit currently unused; consider to include it already now.* Tobias (*) When eventually adding 'gfx-*-generic' support, more

[PATCH] amdgcn: Refactor device settings into a def file

2024-10-21 Thread Andrew Stubbs
I'm going to commit this soon, but I'd appreciate if anybody could have a quick look and let me know if anything is obviously broken or doing things the hard way, or something. Thanks! Andrew -- Almost all device-specific settings are now centralised into gcn-devices.def for the