CuPBoP/compilation/HostTranslation/include/ReplaceKernelLaunch.h

12 lines
324 B
C

#ifndef __NVVM2x86_REPLACE_KERNEL_LAUNCH__
#define __NVVM2x86_REPLACE_KERNEL_LAUNCH__
#include "llvm/IR/Module.h"
/*
* Change to i8* bitcast (i8* (i8*)* @_Z9vecPKiS0_Pii_wrapper to i8*)
* Original: i8* bitcast (void (i32*, i32*, i32*, i32)* @_Z9vecPKiS0_Pii to i8*)
*/
void ReplaceKernelLaunch(llvm::Module *M);
#endif