int radv_thread_trace = radv_get_int_debug_option("RADV_THREAD_TRACE", -1);
if (radv_thread_trace >= 0) {
- fprintf(stderr, "******************************************************************************\n");
- fprintf(stderr, "* WARNING: Thread trace support is experimental and only supported on GFX8+! *\n");
- fprintf(stderr, "******************************************************************************\n");
-
- /* TODO: add support for more ASICs. */
- assert(device->physical_device->rad_info.chip_class >= GFX8);
+ fprintf(stderr, "*************************************************\n");
+ fprintf(stderr, "* WARNING: Thread trace support is experimental *\n");
+ fprintf(stderr, "*************************************************\n");
+
+ if (device->physical_device->rad_info.chip_class < GFX8) {
+ fprintf(stderr, "GPU hardware not supported: refer to "
+ "the RGP documentation for the list of "
+ "supported GPUs!\n");
+ abort();
+ }
/* Default buffer size set to 1MB per SE. */
device->thread_trace_buffer_size =