search for: getkernel

Displaying 4 results from an estimated 4 matches for "getkernel".

Did you mean: get_kernel
2020 Oct 02
2
Pass dependency error
...quired<SimplifyGEPPass>() DetectKernelsPass (ModulePass) is a simple analysis pass that gathers kernel functions. SimplifyGEPPass (FunctionPass) performs some transformations. InstrumentationPass (ModulePass) is using the others like: auto kernels = getAnalysis<DetectKernelsPass>().getKernels(); for ( auto* kernel : kernels) getAnalysis<SimplifyGEPPass>().runOnFunction(*kernel); DetectKernelsPass works fine but i am getting the error for SimplifyGEPPass and i can't figure out why. Are FunctionPasses not supposed to be used inside ModulePasses like that? I also tried some...
2016 Mar 09
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...using KernelType = se::TypedKernel<float, se::DeviceMemory<float> *>; // Now instantiate an object of the specific kernel type we declared above. // The kernel object is not yet connected with the device code that we want it // to run (that happens with the call to GetKernel below), so it cannot be // used to execute work on the device yet. // // However, the kernel object is not completely empty when it is created. From // the StreamExecutor passed into its constructor it knows which platform it // is targeted for, and it also knows which...
2016 Mar 09
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...edKernel<float, se::DeviceMemory<float> *>; > > // Now instantiate an object of the specific kernel type we declared > above. > // The kernel object is not yet connected with the device code that > we want it > // to run (that happens with the call to GetKernel below), so it > cannot be > // used to execute work on the device yet. > // > // However, the kernel object is not completely empty when it is > created. From > // the StreamExecutor passed into its constructor it knows which > platform it > //...
2016 Mar 10
2
RFC: Proposing an LLVM subproject for parallelism runtime and support libraries
...ry<float> >> *>; >> >> // Now instantiate an object of the specific kernel type we >> declared above. >> // The kernel object is not yet connected with the device code that >> we want it >> // to run (that happens with the call to GetKernel below), so it >> cannot be >> // used to execute work on the device yet. >> // >> // However, the kernel object is not completely empty when it is >> created. From >> // the StreamExecutor passed into its constructor it knows which >&gt...