[code-reflection] RFR: HIP HAT backend [v2]

duke duke at openjdk.org
Wed Nov 27 13:14:54 UTC 2024


On Tue, 26 Nov 2024 17:11:35 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:
>> 
>> 
>>                           ......................................
>>                          .......................................
>>                        .........................................
>>                        .........................................
>>                       ..........................................
>>                      ...........................................
>>                     ............................................
>>                    .............................................
>>                    .............................................
>>                   ..............................................
>>                  ................................. ..,..........
>>                  .................................,,,,..........
>>                 ..................................,:,...........
>>                 ................................,,: :...........
>>                ................................::,* :,,.........
>>                .................................,     ,.........
>>               .................................,:    -,.........
>>               ............................,...,,,    :,,.....,..
>>               ..........................,::,,:: --  -#,,#,...:..
>>              ...........................,,  ,:           ,,:,:,.
>>              ...........................,:                ,  ,,.
>>              ...........................,,:                  :..
>>             ..........................,::                   ,,..
>>             ..............,...........,,                     *..
>>             ...............,...,......,:                     :,,
>>             ...............,,,,,,,,,,,,                       +:
>>             ...............,,+,, ,-,,,*                       ,.
>>            ................,:       ,,                        @.
>>           ...
>
> iotamudelta has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:
> 
>  - Merge branch 'code-reflection' into hip_backend
>  - Merge branch 'code-reflection' into hip_backend
>  - Fix whitespace.
>  - Merge branch 'openjdk:code-reflection' into hip_backend
>  - Add a HIP backend.
>    
>    * Use the C99 code path to generate HIP-compliant kernel code.
>    * Compile code using 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:
>    
>                              ......................................
>                             .......................................
>                           .........................................
>                           .........................................
>                          ..........................................
>                         ...........................................
>                        ............................................
>                       .............................................
>                       .............................................
>                      ..............................................
>                     ................................. ..,..........
>                     .................................,,,,..........
>                    ..................................,:,...........
>                    ................................,,: :...........
>                   ................................::,* :,,.........
>                   .................................,     ,.........
>                  .................................,:    -,.........
>                  ............................,...,,,    :,,.....,..
>                  ..........................,::,,:: --  -#,,#,...:..
>                 ...........................,,  ,:           ,,:,:,.
>                 ...........................,:                ,  ,,.
>                 ...........................,,:                  :..
>            ...

@iotamudelta 
Your change (at version 8e043969f0ffbc45d4d26cc0bbd1554b0fac0d7b) is now ready to be sponsored by a Committer.

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

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


More information about the babylon-dev mailing list