> Am 03.02.2024 um 01:22 schrieb Steve Kargl 
> <s...@troutmask.apl.washington.edu>:
> 
> All,
> 
> Suppose one is working in a funding-constrained environment
> such as an academician with limited grant funding.  If one
> wanted to dabble in GPU offloading with gcc/gfortran, what
> recommendations would one have for minimum required hardware?
> In addition, are there any vendor software layers that are
> required (such as AMD ROCm with an AMD GPU)?

You need the HSA runtime for AMD which comes with ROCm and libcuda for NvIDIA 
which comes with CUDA.  I’ve had success getting both a very low end gtx1650 
and a high end rx6900xt running with simple offloading.  The officially 
supported set of hardware is way bigger with CUDA when it comes to lower end 
cards.

I can’t say anything about performance with regard to how GCC handles both.

Note that double precision math performance is said to be severely constrained 
for consumer hardware.

Richard 

> 
> --
> Steve

Reply via email to