[Openmp-commits] [PATCH] D148178: [OpenMP][libomptarget] Improve plugin device info printing

Kevin Sala via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Apr 12 15:42:18 PDT 2023


kevinsala added a comment.

Example of a device info printing for a AMDGPU device:

  HSA Runtime Version:                 1.1
  HSA OpenMP Device Number:            1
  Product Name:                        
  Device Name:                         gfx906
  Vendor Name:                         AMD
  Device Type:                         GPU
  Max Queues:                          128
  Queue Min Size:                      64
  Queue Max Size:                      131072
  Cache:                               
      L0:                              16384
      L1:                              8388608
  Cacheline Size:                      64
  Max Clock Freq(MHz):                 1725
  Compute Units:                       60
  SIMD per CU:                         4
  Fast F16 Operation:                  TRUE
  Wavefront Size:                      64
  Workgroup Max Size:                  1024
  Workgroup Max Size per Dimension:    
      x:                               1024
      y:                               1024
      z:                               1024
  Max Waves Per CU:                    40
  Max Work-item Per CU:                2560
  Grid Max Size:                       4294967295
  Grid Max Size per Dimension:         
      x:                               4294967295
      y:                               4294967295
      z:                               4294967295
  Max fbarriers/Workgrp:               32
  Memory Pools:                        
      Pool GLOBAL:                     
          Flags:                       COARSE GRAINED 
          Size:                        34342961152 bytes
          Allocatable:                 TRUE
          Runtime Alloc Granule:       4096 bytes
          Runtime Alloc Alignment:     4096 bytes
          Accessable by all:           FALSE
      Pool GROUP:                      
          Size:                        65536 bytes
          Allocatable:                 FALSE
          Runtime Alloc Granule:       0 bytes
          Runtime Alloc Alignment:     0 bytes
          Accessable by all:           FALSE
  ISAs:                                
      Name:                            amdgcn-amd-amdhsa--gfx906:sramecc+:xnack-

Notice it's very similar to the device information printed by the original AMDGPU plugin.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148178/new/

https://reviews.llvm.org/D148178



More information about the Openmp-commits mailing list