Cleanup unused code in repository (#75)

* Remove unused forward_list

* Remove unused __read_clock function

* Replace wallClk code with hip function

* Remove unused unit test for ipc

* Remove slab heap

* Remove unused EBO spinlock
Dieser Commit ist enthalten in:
Brandon Potter
2025-04-10 14:47:24 -05:00
committet von GitHub
Ursprung 68421895d6
Commit 0fd628458c
22 geänderte Dateien mit 6 neuen und 1959 gelöschten Zeilen
+6 -1
Datei anzeigen
@@ -242,7 +242,12 @@ void ROBackend::dump_backend_stats() {
total += globalStats.getStat(i);
}
uint64_t gpu_frequency_mhz{wallClk_freq_mhz()};
int device_id;
hipDeviceProp_t device_props;
CHECK_HIP(hipGetDevice(&device_id));
int wallClockMhz;
CHECK_HIP(hipDeviceGetAttribute(&wallClockMhz, hipDeviceAttributeWallClockRate, device_id));
int gpu_frequency_mhz{wallClockMhz};
uint64_t us_wait_slot{0};
uint64_t us_pack{0};