Basic properties of the GEN kernel as a compilation/instrumentation unit.
More...
#include <igt_kernel.h>
Detailed Description
Basic properties of the GEN kernel as a compilation/instrumentation unit.
- Availability:
-
Member Function Documentation
| virtual GtKernelBinary gtpin::IGtKernel::Binary |
( |
| ) |
const [pure virtual] |
- Returns:
- Binary code of the kernel
| virtual GtBinaryFormat gtpin::IGtKernel::BinaryFormat |
( |
| ) |
const [pure virtual] |
- Returns:
- Format of the module that contains the kernel
| virtual uint64_t gtpin::IGtKernel::BinarySignature |
( |
| ) |
const [pure virtual] |
- Returns:
- Hash value of the original kernel's binary code, as calculated by GTPin
| virtual GtKernelElf gtpin::IGtKernel::Elf |
( |
| ) |
const [pure virtual] |
- Returns:
- ELF image of the kernel
| virtual const IGtGenModel& gtpin::IGtKernel::GenModel |
( |
| ) |
const [pure virtual] |
- Returns:
- GEN model, the kernel is compiled for
| virtual uint32_t gtpin::IGtKernel::GetInputPayloadSize |
( |
| ) |
const [pure virtual] |
- Returns:
- Number of registers in the kernel's input payload
-
Number of GRF registers used by the kernel
| virtual uint64_t gtpin::IGtKernel::GetInstrumentedCodeBaseInGpu |
( |
| ) |
const [pure virtual] |
- Returns:
- GPU address of the instrumented kernel code or uint64_t(-1) in the case the address is not known
| virtual GtGpuPlatform gtpin::IGtKernel::GpuPlatform |
( |
| ) |
const [pure virtual] |
- Returns:
- GPU platform the kernel is intended to run on
| virtual uint64_t gtpin::IGtKernel::HashId |
( |
| ) |
const [pure virtual] |
- Returns:
- Hash identifier of the kernel, as reported by IGC/driver
| virtual GtKernelId gtpin::IGtKernel::Id |
( |
| ) |
const [pure virtual] |
- Returns:
- Unique ID of the kernel
| virtual bool gtpin::IGtKernel::IsInstrumented |
( |
| ) |
const [pure virtual] |
- Returns:
- true, if instrumented version of the kernel function exists; false, otherwise
| virtual bool gtpin::IGtKernel::IsRayTracing |
( |
| ) |
const [pure virtual] |
- Returns:
- true, if the kernel is a Ray Tracing kernel; false, otherwise
| virtual bool gtpin::IGtKernel::IsRayTracingPrimary |
( |
| ) |
const [pure virtual] |
- Returns:
- true, if the kernel is the primary (not continuation) part of a Ray Tracing kernel; false, otherwise
| virtual GtCoreString gtpin::IGtKernel::Name |
( |
| ) |
const [pure virtual] |
- Returns:
- Name of the kernel function
| virtual uint32_t gtpin::IGtKernel::NumExplicitPayloadArguments |
( |
| ) |
const [pure virtual] |
Get number of explicit arguments in the kernel payload.
Explicit argument is identified by its index, which uniquely references the argument value in GFX runtime APIs. The value of the explicit argument can be examined by the IGtKernelDispatch::GetPayloadArgumentValue function. Note, explicit argument can be referred by multiple GtKernelArgument descriptors that provide various information (metadata) pertaining to a single explicit argument.
- Returns:
- Number of explicit arguments in the kernel payload
| virtual GtKernelArgSpan gtpin::IGtKernel::PayloadArguments |
( |
| ) |
const [pure virtual] |
- Returns:
- Sequence of the kernel payload argument descriptors. On some GPU platforms, the kernel payload is unknown to GTPin. In this case, the function returns an empty sequence, and the corresponding failure reason can be examined by the IGtCore::LastError() function.
| virtual GtMemoryAddrModel gtpin::IGtKernel::ProfileBufferAddrModel |
( |
| ) |
const [pure virtual] |
- Returns:
- Address model of profile buffer accesses
| virtual GtSimdWidth gtpin::IGtKernel::SimdWidth |
( |
| ) |
const [pure virtual] |
- Returns:
- SIMD width of the kernel
| virtual GtKernelType gtpin::IGtKernel::Type |
( |
| ) |
const [pure virtual] |
- Returns:
- Type of the kernel (shader)
| virtual GtCoreString gtpin::IGtKernel::UniqueName |
( |
| ) |
const [pure virtual] |
- Returns:
- Unique symbolic identifier of this kernel among all kernels in the current program