[code-reflection] RFR: HIP HAT backend

iotamudelta duke at openjdk.org
Fri Nov 15 19:14:23 UTC 2024


On Mon, 14 Oct 2024 18:53:25 GMT, iotamudelta <duke at openjdk.org> wrote:

> * Use the C99 code path to generate HIP-compliant kernel code.
> * Runtime compilation through hipRTC.
> * Use standard HIP malloc/free, device inspection for infrastructure.
> * Integrate into HAT compilation and examples.
> * Confirmed to work on AMD Radeon RX 68000XT w/ ROCm 6.2.2
> 
> hipinfo output:
>> Using device 0: AMD Radeon RX 6800 XT
>> HIP Device has major=10 minor=3 compute capability
>> HIP Device has wave front size 32
>> HIP Device has threadsPerBlock 1024
>> HIP Cores 36
>   Total amount of global memory:   17163091968
>   64-bit Memory Address:           YES
> 
> mandel example:
> 
> 
>                           ......................................
>                          .......................................
>                        .........................................
>                        .........................................
>                       ..........................................
>                      ...........................................
>                     ............................................
>                    .............................................
>                    .............................................
>                   ..............................................
>                  ................................. ..,..........
>                  .................................,,,,..........
>                 ..................................,:,...........
>                 ................................,,: :...........
>                ................................::,* :,,.........
>                .................................,     ,.........
>               .................................,:    -,.........
>               ............................,...,,,    :,,.....,..
>               ..........................,::,,:: --  -#,,#,...:..
>              ...........................,,  ,:           ,,:,:,.
>              ...........................,:                ,  ,,.
>              ...........................,,:                  :..
>             ..........................,::                   ,,..
>             ..............,...........,,                     *..
>             ...............,...,......,:                     :,,
>             ...............,,,,,,,,,,,,                       +:
>             ...............,,+,, ,-,,,*                       ,.
>            ................,:       ,,                        @.
>            ...............,,        #,                        ,.
>            ............,,,,:      ...

Still waiting on OCA.

-------------

PR Comment: https://git.openjdk.org/babylon/pull/254#issuecomment-2468987377


More information about the babylon-dev mailing list