diff --git a/runtime/src/iree/hal/drivers/hip/tracing.c b/runtime/src/iree/hal/drivers/hip/tracing.c index c5ee5ebe4fdf..9bbd5e2cea14 100644 --- a/runtime/src/iree/hal/drivers/hip/tracing.c +++ b/runtime/src/iree/hal/drivers/hip/tracing.c @@ -6,7 +6,7 @@ #include "iree/hal/drivers/hip/tracing.h" -#if IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION +#if IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION_DEVICE #include "iree/hal/drivers/hip/dynamic_symbols.h" #include "iree/hal/drivers/hip/status_util.h" @@ -293,4 +293,4 @@ void iree_hal_hip_tracing_context_free( void iree_hal_hip_tracing_context_collect( iree_hal_hip_tracing_context_t* context) {} -#endif // IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION +#endif // IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION_DEVICE diff --git a/runtime/src/iree/hal/drivers/hip/tracing.h b/runtime/src/iree/hal/drivers/hip/tracing.h index c1ba65788787..04d7c97ca08f 100644 --- a/runtime/src/iree/hal/drivers/hip/tracing.h +++ b/runtime/src/iree/hal/drivers/hip/tracing.h @@ -62,7 +62,7 @@ void iree_hal_hip_tracing_context_free(iree_hal_hip_tracing_context_t* context); void iree_hal_hip_tracing_context_collect( iree_hal_hip_tracing_context_t* context); -#if IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION +#if IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION_DEVICE // Begins a normal zone derived on the calling |src_loc|. // Must be perfectly nested and paired with a corresponding zone end. @@ -111,7 +111,7 @@ void iree_hal_hip_tracing_zone_end_impl(iree_hal_hip_tracing_context_t* context, function_name_length, name, name_length) #define IREE_HIP_TRACE_ZONE_END(context, stream) -#endif // IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION +#endif // IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION_DEVICE #ifdef __cplusplus } // extern "C"