Query to find out how many compute units on a GPU. Useful for OpenCL usermode drivers.
Showing the changes to include/uapi (1 of 10 files). Show all
Unified · Split
| @@ -1007,7 +1007,7 @@ struct drm_radeon_cs { · 1006 unmodified lines | ||
| 1007 | 1007 | #define RADEON_INFO_NUM_BYTES_MOVED 0x1d |
| 1008 | 1008 | #define RADEON_INFO_VRAM_USAGE 0x1e |
| 1009 | 1009 | #define RADEON_INFO_GTT_USAGE 0x1f |
| 1010 | − | |
| 1010 | +#define RADEON_INFO_ACTIVE_CU_COUNT 0x20 | |
| 1011 | 1011 | |
| 1012 | 1012 | struct drm_radeon_info { |
| 1013 | 1013 | uint32_t request; |