Undeclared identifier 'TraceRayAndAccumulateResults'

Hi, everyone. I met this error when I was compiling my own Ray tracing Shaders.

Undeclared identifier 'TraceRayAndAccumulateResults'

I can’t find which .ush file contain this function.
It doesn’t work when I tried ‘Go to Definition’ in Visual Studio either.

I included following .ush file in my shader:

#include "../Common.ush"

#define SUPPORT_CONTACT_SHADOWS 0
#define USE_SOURCE_TEXTURE 1
#define USE_SOURCE_TEXTURE_ARRAY 1

#include "../MonteCarlo.ush"
#include "../DeferredShadingCommon.ush"
#include "../LightShaderParameters.ush"
#include "../SceneTextureParameters.ush"
#include "../ScreenSpaceDenoise/SSDPublic.ush"
#include "../SobolRandom.ush"
#include "RayTracingCommon.ush"
#include "RayTracingDirectionalLight.ush"
#include "RayTracingRectLight.ush"
#include "RayTracingSphereLight.ush"
#include "RayTracingSpotLight.ush"
#include "RayTracingPointLight.ush"
#include "RayTracingBSDF.ush"
#include "../PathTracing/Utilities/PathTracingRandomSequence.ush"
#include "RayTracingHitGroupCommon.ush"

I want to figure out how I can use ‘TraceRayAndAccumulateResults’ in my own shaders.

I found the definition of TraceRayAndAccumulateResults in RayTracingLightingCommon.ush.
So I included RayTracingLightingCommon.ush in my own shader then it worked.