mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
lib: add common min and max macros
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
@@ -83,4 +83,8 @@ bool intel_check_memory(uint32_t count, uint32_t size, unsigned mode);
|
||||
#define CHECK_RAM 0x1
|
||||
#define CHECK_SWAP 0x2
|
||||
|
||||
|
||||
#define min(a, b) ((a) < (b) ? (a) : (b))
|
||||
#define max(a, b) ((a) < (b) ? (a) : (b))
|
||||
|
||||
#endif /* IGT_AUX_H */
|
||||
|
||||
Reference in New Issue
Block a user