Home
last modified time | relevance | path

Searched refs:kernelFunc (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/GPU/Transforms/
DKernelOutlining.cpp215 gpu::GPUFuncOp kernelFunc, in convertToLaunchFuncOp() argument
219 launchOp.getLoc(), kernelFunc, launchOp.getGridSizeOperandValues(), in convertToLaunchFuncOp()
278 gpu::GPUModuleOp createKernelModule(gpu::GPUFuncOp kernelFunc, in createKernelModule() argument
286 OperationState state(kernelFunc.getLoc(), in createKernelModule()
288 gpu::GPUModuleOp::build(builder, state, kernelFunc.getName()); in createKernelModule()
291 symbolTable.insert(kernelFunc); in createKernelModule()
293 SmallVector<Operation *, 8> symbolDefWorklist = {kernelFunc}; in createKernelModule()
/external/llvm-project/clang/test/CodeGenSYCL/
Dconvergent.cpp13 __attribute__((sycl_kernel)) void kernel_single_task(const Func &kernelFunc) { in kernel_single_task() argument
14 kernelFunc(); in kernel_single_task()
/external/llvm-project/clang/test/SemaSYCL/
Dprohibit-thread-local.cpp42 kernel_single_task(Func kernelFunc) { kernelFunc(); } in kernel_single_task() argument
Dfloat128.cpp58 __attribute__((sycl_kernel)) void kernel(Func kernelFunc) { in kernel() argument
60 kernelFunc(); in kernel()
Dint128.cpp66 __attribute__((sycl_kernel)) void kernel(Func kernelFunc) { in kernel() argument
68 kernelFunc(); in kernel()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertLaunchFuncToLLVMCalls.cpp180 auto kernelFunc = module.lookupSymbol<LLVM::LLVMFuncOp>(newKernelFuncName); in matchAndRewrite() local
181 if (!kernelFunc) { in matchAndRewrite()
184 kernelFunc = rewriter.create<LLVM::LLVMFuncOp>( in matchAndRewrite()
256 rewriter.replaceOpWithNewOp<LLVM::CallOp>(op, kernelFunc, in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp101 Operation *kernelFunc = module.lookupSymbol(launchOp.kernel()); in verifyOperationAttribute() local
102 auto kernelGPUFunction = dyn_cast_or_null<gpu::GPUFuncOp>(kernelFunc); in verifyOperationAttribute()
103 auto kernelLLVMFunction = dyn_cast_or_null<LLVM::LLVMFuncOp>(kernelFunc); in verifyOperationAttribute()
107 if (!kernelFunc->getAttrOfType<mlir::UnitAttr>( in verifyOperationAttribute()
431 GPUFuncOp kernelFunc, KernelDim3 gridSize, in build() argument
437 auto kernelModule = kernelFunc->getParentOfType<GPUModuleOp>(); in build()
439 kernelModule.getName(), {builder.getSymbolRefAttr(kernelFunc.getName())}); in build()
/external/llvm-project/mlir/include/mlir/Dialect/GPU/
DGPUOps.td380 OpBuilderDAG<(ins "GPUFuncOp":$kernelFunc, "KernelDim3":$gridSize,