From 4fc64f63ab05fdbd26912df23a57fa9fc029444d Mon Sep 17 00:00:00 2001 From: Eddie Richter Date: Wed, 30 Oct 2024 20:26:40 -0600 Subject: [PATCH] [SQUASH] CI seems to need this --- runtime/hsa-runtime/core/driver/xdna/uapi/amdxdna_accel.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/hsa-runtime/core/driver/xdna/uapi/amdxdna_accel.h b/runtime/hsa-runtime/core/driver/xdna/uapi/amdxdna_accel.h index 03e74d387..fa3985cc3 100644 --- a/runtime/hsa-runtime/core/driver/xdna/uapi/amdxdna_accel.h +++ b/runtime/hsa-runtime/core/driver/xdna/uapi/amdxdna_accel.h @@ -14,6 +14,10 @@ extern "C" { #endif +#ifndef __counted_by +#define __counted_by(cnt) +#endif + #define AMDXDNA_DRIVER_MAJOR 1 #define AMDXDNA_DRIVER_MINOR 0