1 /*========================== begin_copyright_notice ============================ 2 3 Copyright (C) 2017-2021 Intel Corporation 4 5 SPDX-License-Identifier: MIT 6 7 ============================= end_copyright_notice ===========================*/ 8 9 typedef struct _VISA_GenVar VISA_GenVar; 10 typedef struct _VISA_AddrVar VISA_AddrVar; 11 typedef struct _VISA_PredVar VISA_PredVar; 12 typedef struct _VISA_SamplerVar VISA_SamplerVar; 13 typedef struct _VISA_SurfaceVar VISA_SurfaceVar; 14 typedef struct _VISA_VMEVar VISA_VMEVar; 15 typedef struct _VISA_LabelVar VISA_LabelVar; 16 typedef struct _VISA_FileVar VISA_FileVar; 17 18 19 typedef struct _VISA_LabelOpnd VISA_LabelOpnd; 20 typedef struct _VISA_VectorOpnd VISA_VectorOpnd; 21 typedef struct _VISA_RawOpnd VISA_RawOpnd; 22 typedef struct _VISA_PredOpnd VISA_PredOpnd; 23 typedef struct _VISA_StateOpndHandle VISA_StateOpndHandle; 24 25 #include "JitterDataStruct.h" 26 #include "visa_igc_common_header.h" 27 #include "VISABuilderAPIDefinition.h" 28 #include "visa_wa.h" 29 #include "RelocationInfo.h" 30 #include "inc/common/sku_wa.h" 31 32 extern "C" int CreateVISABuilder(VISABuilder* &builder, vISABuilderMode mode, 33 VISA_BUILDER_OPTION builderOption, TARGET_PLATFORM platform, int numArgs, const char* flags[], 34 const WA_TABLE *pWaTable); 35 extern "C" int DestroyVISABuilder(VISABuilder *&builder); 36 37 /** 38 * 39 * Interface to free the kernel binary allocated by the vISA finalizer 40 */ 41 extern "C" void freeBlock(void* ptr); 42