Sure, thanks for the help.
Here is the rocm-info -a output, it does recognize my gpu:
======================= ROCm System Management Interface =======================
========================= Version of System Component ==========================
Driver version: 5.18.13
================================================================================
====================================== ID ======================================
GPU[0] : GPU ID: 0x73df
GPU[1] : GPU ID: 0x1638
================================================================================
================================== Unique ID ===================================
GPU[0] : Unique ID: N/A
GPU[1] : Unique ID: N/A
================================================================================
==================================== VBIOS =====================================
GPU[0] : VBIOS version: 113-67HA6SMD1-D01
GPU[1] : VBIOS version: 13-CEZANNE-019
================================================================================
================================= Temperature ==================================
GPU[0] : Temperature (Sensor edge) (C): 33.0
GPU[0] : Temperature (Sensor junction) (C): 33.0
GPU[0] : Temperature (Sensor memory) (C): 36.0
GPU[1] : Temperature (Sensor edge) (C): 29.0
================================================================================
========================== Current clock frequencies ===========================
GPU[0] : dcefclk clock level: 1: (480Mhz)
GPU[0] : fclk clock level: 1: (840Mhz)
GPU[0] : mclk clock level: 0: (96Mhz)
GPU[0] : sclk clock level: 0: (500Mhz)
GPU[0] : socclk clock level: 1: (533Mhz)
GPU[0] : pcie clock level: 1 (8.0GT/s x16)
GPU[1] : fclk clock level: 0: (1600Mhz)
GPU[1] : mclk clock level: 0: (1600Mhz)
GPU[1] : sclk clock level: 1: (400Mhz)
GPU[1] : socclk clock level: 0: (400Mhz)
================================================================================
============================== Current Fan Metric ==============================
GPU[0] : Unable to detect fan speed for GPU 0
GPU[1] : Unable to detect fan speed for GPU 1
================================================================================
============================ Show Performance Level ============================
GPU[0] : Performance Level: auto
GPU[1] : Performance Level: auto
================================================================================
=============================== OverDrive Level ================================
GPU[0] : GPU OverDrive value (%): 0
GPU[1] : GPU OverDrive value (%): 0
================================================================================
=============================== OverDrive Level ================================
GPU[0] : GPU Memory OverDrive value (%): 0
GPU[1] : GPU Memory OverDrive value (%): 0
================================================================================
================================== Power Cap ===================================
GPU[0] : Max Graphics Package Power (W): 186.0
GPU[1] : Not supported on the given system
GPU[1] : Max Graphics Package Power Unsupported
================================================================================
============================= Show Power Profiles ==============================
GPU[0] : 1. Available power profile (#1 of 7): CUSTOM
GPU[0] : 2. Available power profile (#2 of 7): VIDEO
GPU[0] : 3. Available power profile (#3 of 7): POWER SAVING
GPU[0] : 4. Available power profile (#4 of 7): COMPUTE
GPU[0] : 5. Available power profile (#5 of 7): VR
GPU[0] : 6. Available power profile (#6 of 7): 3D FULL SCREEN
GPU[0] : 7. Available power profile (#7 of 7): BOOTUP DEFAULT*
GPU[1] : 1. Available power profile (#1 of 7): CUSTOM
GPU[1] : 2. Available power profile (#2 of 7): VIDEO*
GPU[1] : 3. Available power profile (#4 of 7): COMPUTE
GPU[1] : 4. Available power profile (#5 of 7): VR
================================================================================
============================== Power Consumption ===============================
GPU[0] : Average Graphics Package Power (W): 5.0
Not supported on the given system
GPU[1] : Average Graphics Package Power (W): 0.006
================================================================================
========================= Supported clock frequencies ==========================
GPU[0] : Supported dcefclk frequencies on GPU0
GPU[0] : 0: 417Mhz
GPU[0] : 1: 480Mhz *
GPU[0] : 2: 1200Mhz
GPU[0] :
GPU[0] : Supported fclk frequencies on GPU0
GPU[0] : 0: 500Mhz
GPU[0] : 1: 840Mhz *
GPU[0] : 2: 1941Mhz
GPU[0] :
GPU[0] : Supported mclk frequencies on GPU0
GPU[0] : 0: 96Mhz *
GPU[0] : 1: 456Mhz
GPU[0] : 2: 675Mhz
GPU[0] : 3: 1000Mhz
GPU[0] :
GPU[0] : Supported sclk frequencies on GPU0
GPU[0] : 0: 500Mhz *
GPU[0] : 1: 2725Mhz
GPU[0] :
GPU[0] : Supported socclk frequencies on GPU0
GPU[0] : 0: 480Mhz
GPU[0] : 1: 533Mhz *
GPU[0] : 2: 1200Mhz
GPU[0] :
GPU[0] : Supported PCIe frequencies on GPU0
GPU[0] : 0: 2.5GT/s x1
GPU[0] : 1: 8.0GT/s x16 *
GPU[0] :
--------------------------------------------------------------------------------
GPU[1] : Supported dcefclk frequencies on GPU1
GPU[1] : 0: 400Mhz *
GPU[1] : 1: 464Mhz
GPU[1] : 2: 514Mhz
GPU[1] : 3: 576Mhz
GPU[1] : 4: 626Mhz
GPU[1] : 5: 685Mhz
GPU[1] : 6: 757Mhz
GPU[1] : 7: 847Mhz
GPU[1] :
GPU[1] : Supported fclk frequencies on GPU1
GPU[1] : 0: 1600Mhz *
GPU[1] :
GPU[1] : Supported mclk frequencies on GPU1
GPU[1] : 0: 1600Mhz *
GPU[1] :
GPU[1] : Supported sclk frequencies on GPU1
GPU[1] : 0: 200Mhz
GPU[1] : 1: 400Mhz *
GPU[1] : 2: 2000Mhz
GPU[1] :
GPU[1] : Supported socclk frequencies on GPU1
GPU[1] : 0: 400Mhz *
GPU[1] : 1: 445Mhz
GPU[1] : 2: 520Mhz
GPU[1] : 3: 600Mhz
GPU[1] : 4: 678Mhz
GPU[1] : 5: 780Mhz
GPU[1] : 6: 866Mhz
GPU[1] : 7: 975Mhz
GPU[1] :
--------------------------------------------------------------------------------
================================================================================
============================== % time GPU is busy ==============================
GPU[0] : GPU use (%): 0
GPU[1] : GPU use (%): 0
================================================================================
============================== Current Memory Use ==============================
GPU[0] : GPU memory use (%): 0
GPU[0] : Memory Activity: N/A
GPU[1] : Not supported on the given system
GPU[1] : Memory Activity: N/A
================================================================================
================================ Memory Vendor =================================
GPU[0] : GPU memory vendor: micron
GPU[1] : GPU memory vendor: unknown
================================================================================
============================= PCIe Replay Counter ==============================
GPU[0] : PCIe Replay Count: 0
GPU[1] : PCIe Replay Count: 0
================================================================================
================================ Serial Number =================================
GPU[0] : Serial Number: N/A
GPU[1] : Serial Number: N/A
================================================================================
================================ KFD Processes =================================
No KFD PIDs currently running
================================================================================
============================= GPUs Indexed by PID ==============================
No KFD PIDs currently running
================================================================================
================== GPU Memory clock frequencies and voltages ===================
GPU[0] : Not supported on the given system
GPU[1] : Requested function is not implemented on this setup
================================================================================
=============================== Current voltage ================================
GPU[0] : Voltage (mV): 843
GPU[1] : Voltage (mV): 1425
================================================================================
================================== PCI Bus ID ==================================
GPU[0] : PCI Bus: 0000:03:00.0
GPU[1] : PCI Bus: 0000:0E:00.0
================================================================================
============================= Firmware Information =============================
GPU[0] : ASD firmware version: 0x21000095
GPU[0] : CE firmware version: 37
GPU[0] : DMCU firmware version: 0
GPU[0] : MC firmware version: 0
GPU[0] : ME firmware version: 64
GPU[0] : MEC firmware version: 104
GPU[0] : MEC2 firmware version: 104
GPU[0] : PFP firmware version: 95
GPU[0] : RLC firmware version: 74
GPU[0] : RLC SRLC firmware version: 0
GPU[0] : RLC SRLG firmware version: 0
GPU[0] : RLC SRLS firmware version: 0
GPU[0] : SDMA firmware version: 80
GPU[0] : SDMA2 firmware version: 80
GPU[0] : SMC firmware version: 00.65.57.00
GPU[0] : SOS firmware version: 0x00220a0c
GPU[0] : TA RAS firmware version: 00.00.00.00
GPU[0] : TA XGMI firmware version: 00.00.00.00
GPU[0] : UVD firmware version: 0x00000000
GPU[0] : VCE firmware version: 0x00000000
GPU[0] : VCN firmware version: 0x0211a000
GPU[1] : ASD firmware version: 0x21000090
GPU[1] : CE firmware version: 79
GPU[1] : DMCU firmware version: 0
GPU[1] : MC firmware version: 0
GPU[1] : ME firmware version: 166
GPU[1] : MEC firmware version: 464
GPU[1] : MEC2 firmware version: 464
GPU[1] : PFP firmware version: 194
GPU[1] : RLC firmware version: 60
GPU[1] : RLC SRLC firmware version: 1
GPU[1] : RLC SRLG firmware version: 1
GPU[1] : RLC SRLS firmware version: 1
GPU[1] : SDMA firmware version: 40
GPU[1] : SDMA2 firmware version: 0
GPU[1] : SMC firmware version: 00.64.60.00
GPU[1] : SOS firmware version: 0x00000000
GPU[1] : TA RAS firmware version: 00.00.00.00
GPU[1] : TA XGMI firmware version: 00.00.00.00
GPU[1] : UVD firmware version: 0x00000000
GPU[1] : VCE firmware version: 0x00000000
GPU[1] : VCN firmware version: 0x05113000
================================================================================
================================= Product Info =================================
GPU[0] : Card series: Navi 22 [Radeon RX 6700/6700 XT / 6800M]
GPU[0] : Card model: 0x6606
GPU[0] : Card vendor: Advanced Micro Devices, Inc. [AMD/ATI]
GPU[0] : Card SKU: 67HA6S
GPU[1] : Card series: Cezanne
GPU[1] : Card model: 0x1636
GPU[1] : Card vendor: Advanced Micro Devices, Inc. [AMD/ATI]
GPU[1] : Card SKU: CEZANN
================================================================================
================================== Pages Info ==================================
GPU[0] : Not supported on the given system
============================ Show Valid sclk Range =============================
GPU[0] : Not supported on the given system
GPU[1] : Requested function is not implemented on this setup
================================================================================
============================ Show Valid mclk Range =============================
GPU[0] : Not supported on the given system
GPU[1] : Requested function is not implemented on this setup
================================================================================
=========================== Show Valid voltage Range ===========================
GPU[0] : Not supported on the given system
GPU[1] : Requested function is not implemented on this setup
================================================================================
============================= Voltage Curve Points =============================
GPU[0] : Not supported on the given system
GPU[1] : Requested function is not implemented on this setup
================================================================================
=============================== Consumed Energy ================================
GPU[0] : Energy counter: 0
GPU[0] : Accumulated Energy (uJ): 0.0
GPU[1] : Not supported on the given system
================================================================================
============================= End of ROCm SMI Log ==============================
hipSYCL info:
=================Backend information===================
Loaded backend 0: HIP
Found device: AMD Radeon RX 6700 XT
Found device:
Loaded backend 1: OpenMP
Found device: hipSYCL OpenMP host device
Loaded backend 2: CUDA
(no devices found)
=================Device information===================
***************** Devices for backend HIP *****************
Device 0:
General device information:
Name: AMD Radeon RX 6700 XT
Backend: HIP
Vendor: AMD
Arch: gfx1031
Driver version: 50422802
Is CPU: 0
Is GPU: 1
Default executor information:
Is in-order queue: 1
Is out-of-order queue: 0
Is task graph: 0
Device support queries:
images: 0
error_correction: 0
host_unified_memory: 0
little_endian: 1
global_mem_cache: 1
global_mem_cache_read_only: 0
global_mem_cache_read_write: 1
emulated_local_memory: 0
sub_group_independent_forward_progress: 1
usm_device_allocations: 1
usm_host_allocations: 1
usm_atomic_host_allocations: 0
usm_shared_allocations: 1
usm_atomic_shared_allocations: 0
usm_system_allocations: 0
execution_timestamps: 1
Device properties:
max_compute_units: 20
max_global_size0: 18446744073709550592
max_global_size1: 18446744073709550592
max_global_size2: 18446744073709550592
max_group_size: 1024
max_num_sub_groups: 32
preferred_vector_width_char: 4
preferred_vector_width_double: 1
preferred_vector_width_float: 1
preferred_vector_width_half: 2
preferred_vector_width_int: 1
preferred_vector_width_long: 1
preferred_vector_width_short: 2
native_vector_width_char: 4
native_vector_width_double: 1
native_vector_width_float: 1
native_vector_width_half: 2
native_vector_width_int: 1
native_vector_width_long: 1
native_vector_width_short: 2
max_clock_speed: 2725
max_malloc_size: 12868124672
address_bits: 64
max_read_image_args: 0
max_write_image_args: 0
image2d_max_width: 0
image2d_max_height: 0
image3d_max_width: 0
image3d_max_height: 0
image3d_max_depth: 0
image_max_buffer_size: 0
image_max_array_size: 0
max_samplers: 0
max_parameter_size: 18446744073709551615
mem_base_addr_align: 8
global_mem_cache_line_size: 128
global_mem_cache_size: 3145728
global_mem_size: 12868124672
max_constant_buffer_size: 2147483647
max_constant_args: 18446744073709551615
local_mem_size: 65536
printf_buffer_size: 18446744073709551615
partition_max_sub_devices: 0
vendor_id: 1022
sub_group_sizes: 32
Device 1:
General device information:
Name:
Backend: HIP
Vendor: AMD
Arch: gfx90c:xnack-
Driver version: 50422802
Is CPU: 0
Is GPU: 1
Default executor information:
Is in-order queue: 1
Is out-of-order queue: 0
Is task graph: 0
Device support queries:
images: 0
error_correction: 0
host_unified_memory: 0
little_endian: 1
global_mem_cache: 1
global_mem_cache_read_only: 0
global_mem_cache_read_write: 1
emulated_local_memory: 0
sub_group_independent_forward_progress: 1
usm_device_allocations: 1
usm_host_allocations: 1
usm_atomic_host_allocations: 0
usm_shared_allocations: 1
usm_atomic_shared_allocations: 0
usm_system_allocations: 0
execution_timestamps: 1
Device properties:
max_compute_units: 8
max_global_size0: 18446744073709550592
max_global_size1: 18446744073709550592
max_global_size2: 18446744073709550592
max_group_size: 1024
max_num_sub_groups: 16
preferred_vector_width_char: 4
preferred_vector_width_double: 1
preferred_vector_width_float: 1
preferred_vector_width_half: 2
preferred_vector_width_int: 1
preferred_vector_width_long: 1
preferred_vector_width_short: 2
native_vector_width_char: 4
native_vector_width_double: 1
native_vector_width_float: 1
native_vector_width_half: 2
native_vector_width_int: 1
native_vector_width_long: 1
native_vector_width_short: 2
max_clock_speed: 2000
max_malloc_size: 536870912
address_bits: 64
max_read_image_args: 0
max_write_image_args: 0
image2d_max_width: 0
image2d_max_height: 0
image3d_max_width: 0
image3d_max_height: 0
image3d_max_depth: 0
image_max_buffer_size: 0
image_max_array_size: 0
max_samplers: 0
max_parameter_size: 18446744073709551615
mem_base_addr_align: 8
global_mem_cache_line_size: 128
global_mem_cache_size: 1048576
global_mem_size: 536870912
max_constant_buffer_size: 536870912
max_constant_args: 18446744073709551615
local_mem_size: 65536
printf_buffer_size: 18446744073709551615
partition_max_sub_devices: 0
vendor_id: 1022
sub_group_sizes: 64
***************** Devices for backend OpenMP *****************
Device 0:
General device information:
Name: hipSYCL OpenMP host device
Backend: OpenMP
Vendor: the hipSYCL project
Arch: <native-cpu>
Driver version: 1.2
Is CPU: 1
Is GPU: 0
Default executor information:
Is in-order queue: 1
Is out-of-order queue: 0
Is task graph: 0
Device support queries:
images: 0
error_correction: 0
host_unified_memory: 1
little_endian: 1
global_mem_cache: 1
global_mem_cache_read_only: 0
global_mem_cache_read_write: 1
emulated_local_memory: 1
sub_group_independent_forward_progress: 0
usm_device_allocations: 1
usm_host_allocations: 1
usm_atomic_host_allocations: 1
usm_shared_allocations: 1
usm_atomic_shared_allocations: 1
usm_system_allocations: 1
execution_timestamps: 1
Device properties:
max_compute_units: 16
max_global_size0: 18446744073709551615
max_global_size1: 18446744073709551615
max_global_size2: 18446744073709551615
max_group_size: 1024
max_num_sub_groups: 18446744073709551615
preferred_vector_width_char: 4
preferred_vector_width_double: 1
preferred_vector_width_float: 1
preferred_vector_width_half: 2
preferred_vector_width_int: 1
preferred_vector_width_long: 1
preferred_vector_width_short: 2
native_vector_width_char: 4
native_vector_width_double: 1
native_vector_width_float: 1
native_vector_width_half: 2
native_vector_width_int: 1
native_vector_width_long: 1
native_vector_width_short: 2
max_clock_speed: 0
max_malloc_size: 18446744073709551615
address_bits: 64
max_read_image_args: 0
max_write_image_args: 0
image2d_max_width: 0
image2d_max_height: 0
image3d_max_width: 0
image3d_max_height: 0
image3d_max_depth: 0
image_max_buffer_size: 0
image_max_array_size: 0
max_samplers: 0
max_parameter_size: 18446744073709551615
mem_base_addr_align: 8
global_mem_cache_line_size: 64
global_mem_cache_size: 1
global_mem_size: 18446744073709551615
max_constant_buffer_size: 18446744073709551615
max_constant_args: 18446744073709551615
local_mem_size: 18446744073709551615
printf_buffer_size: 18446744073709551615
partition_max_sub_devices: 0
vendor_id: 18446744073709551615
sub_group_sizes: 1
***************** Devices for backend CUDA *****************
(no devices)
OS: Ubuntu 22.04
There are a couple things with hipsycl. First, I tried installing with the instructions using the link up above:
cmake .. -DCMAKE_C_COMPILER=/opt/rocm/llvm/bin/clang -DCMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/clang++ -DLLVM_DIR=/opt/rocm/llvm/lib/cmake/llvm -DROCM_PATH=/opt/rocm -DWITH_ROCM_BACKEND=ON
But, when I did this, i couldnt recognize my GPU with the hipsycl-info command. So then I tried this:
cmake .. -DROCM_PATH=/opt/rocm -DWITH_ROCM_BACKEND=ON
and then I got the output I have placed above where it has my 6700xt.
One other thing worth noting, I ran the tests individually and most of them wouldn’t even enter the tests, they would just say Segmentation fault (core dumped). Or, they would say:
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from PullTest/PullIntegrationTest
Segmentation fault (core dumped)
with a varying number of tests in the test suite. I even ran the tests with sudo, hoping maybe it was a permission thing.
I’m really stumped here, I think I have tried everything obvious, including scanning the manual for known segmentation fault errors, but I can’t come up with anything. Hope you guys can help.