Searched defs:kernel (Results 1 - 13 of 13) sorted by relevance

/frameworks/rs/rsov/compiler/spirit/
H A Dmodule_test.cpp171 auto kernel = m->getFunctionDefinitionFromInstruction(i); local
172 ASSERT_NE(nullptr, kernel);
175 EXPECT_NE(nullptr, kernel->getParameter(0));
176 EXPECT_NE(nullptr, kernel->getReturnType());
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicLUT.cpp38 static void kernel(const RsExpandKernelDriverInfo *info,
50 void RsdCpuScriptIntrinsicLUT::kernel(const RsExpandKernelDriverInfo *info, function in class:android::renderscript::RsdCpuScriptIntrinsicLUT
80 mRootPtr = &kernel;
H A DrsCpuIntrinsic3DLUT.cpp38 static void kernel(const RsExpandKernelDriverInfo *info,
54 void RsdCpuScriptIntrinsic3DLUT::kernel(const RsExpandKernelDriverInfo *info, function in class:android::renderscript::RsdCpuScriptIntrinsic3DLUT
161 mRootPtr = &kernel;
H A DrsCpuIntrinsicYuvToRGB.cpp46 static void kernel(const RsExpandKernelDriverInfo *info,
98 void RsdCpuScriptIntrinsicYuvToRGB::kernel(const RsExpandKernelDriverInfo *info, function in class:android::renderscript::RsdCpuScriptIntrinsicYuvToRGB
203 mRootPtr = &kernel;
H A DrsCpuCore.h54 // Internal driver callback used to execute a kernel
66 // MTLaunchStruct passes information about a multithreaded kernel launch.
87 ForEachFunc_t kernel; member in struct:android::renderscript::MTLaunchStructForEach
115 // allocation acts as an accumulator.) It is created at kernel
122 // been grabbed by threads. It is initialized to zero at kernel
126 // The array is created at kernel launch time, and each element is
166 // Launch foreach kernel
170 // Launch a general reduce kernel
227 bool mInKernel; // Is a parallel kernel execution underway?
262 // Launch a general reduce kernel
[all...]
H A DrsCpuIntrinsicBlend.cpp33 static void kernel(const RsExpandKernelDriverInfo *info, uint32_t xstart,
112 void RsdCpuScriptIntrinsicBlend::kernel(const RsExpandKernelDriverInfo *info, function in class:android::renderscript::RsdCpuScriptIntrinsicBlend
496 mRootPtr = &kernel;
H A DrsCpuScriptGroup2.cpp174 cc = new CPUClosure(closure, si, (ExpandFuncTy)mtls.kernel);
351 const ExpandFuncTy* kernel,
355 const char* f1 = (const char*)(kernel[i]);
592 // which a kernel later reads.
658 mtls.kernel = (ForEachFunc_t)mFunc;
689 mtls.kernel = &groupRoot;
349 debugHintScriptGroup2(const char* groupName, const uint32_t groupNameSize, const ExpandFuncTy* kernel, const uint32_t kernelCount) argument
/frameworks/compile/slang/
H A Dslang_rs_foreach_lowering.cpp39 // Check if the passed-in expr references a kernel function in the following
79 // a FunctionDecl of a kernel function.
116 "Invalid kernel launch call made from inside another kernel.");
121 const clang::FunctionDecl* kernel = matchFunctionDesignator(arg0); local
123 if (kernel == nullptr) {
125 "Invalid kernel launch call. "
130 // Verifies that kernel is indeed a "kernel" function.
131 *slot = mCtxt->getForEachSlotNumber(kernel);
224 const clang::FunctionDecl* kernel = matchKernelLaunchCall(CE, &slot, &hasOptions); local
[all...]
/frameworks/rs/rsov/compiler/
H A DWrapper.cpp60 FunctionDefinition *kernel = m->lookupFunctionDefinitionByName(name); local
61 if (kernel == nullptr) {
62 // In the metadata for RenderScript LLVM bitcode, the first foreach kernel
63 // is always reserved for the root kernel, even though in the most recent RS
66 // Otherwise, if a non-root kernel function cannot be found, it is a
73 // Not handling old-style kernel
171 FunctionParameterInst *param = kernel->getParameter(i);
187 // TODO: Convert from unsigned int to signed int if that is what the kernel
199 auto resultType = kernel->getReturnType();
201 b.MakeFunctionCall(resultType, kernel
[all...]
/frameworks/compile/libbcc/lib/
H A DRSKernelExpand.cpp68 * In the case of a foreach kernel or a simple reduction kernel, the
72 * In the case of a general reduction kernel, the kernel's accumulator
79 * foreach kernel; and the code for <ACCUMFN>.expand depends only on
80 * <ACCUMFN>, not on any other properties of the reduction kernel, so
334 /// @brief Create skeleton of the expanded foreach kernel.
359 // Create skeleton of a general reduce kernel's expanded accumulator.
496 * generating a call to the kernel function.
660 * data means that if we see a kernel wit
1391 llvm::Function *kernel = Module.getFunction(name); local
[all...]
/frameworks/rs/
H A DrsApiStubs.cpp590 RsScriptKernelID kernel, RsAllocation alloc)
592 RS_DISPATCH(ctxWrapper, ScriptGroupSetOutput, group, kernel, alloc);
596 RsScriptKernelID kernel, RsAllocation alloc)
598 RS_DISPATCH(ctxWrapper, ScriptGroupSetInput, group, kernel, alloc);
589 rsScriptGroupSetOutput(RsContext ctxWrapper, RsScriptGroup group, RsScriptKernelID kernel, RsAllocation alloc) argument
595 rsScriptGroupSetInput(RsContext ctxWrapper, RsScriptGroup group, RsScriptKernelID kernel, RsAllocation alloc) argument
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java871 native void rsnScriptGroupSetInput(long con, long group, long kernel, long alloc); argument
872 synchronized void nScriptGroupSetInput(long group, long kernel, long alloc) { argument
874 rsnScriptGroupSetInput(mContext, group, kernel, alloc);
877 native void rsnScriptGroupSetOutput(long con, long group, long kernel, long alloc); argument
878 synchronized void nScriptGroupSetOutput(long group, long kernel, long alloc) { argument
880 rsnScriptGroupSetOutput(mContext, group, kernel, alloc);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DRenderScript.java842 native void rsnScriptGroupSetInput(long con, long group, long kernel, long alloc); argument
843 synchronized void nScriptGroupSetInput(long group, long kernel, long alloc) { argument
845 rsnScriptGroupSetInput(mContext, group, kernel, alloc);
848 native void rsnScriptGroupSetOutput(long con, long group, long kernel, long alloc); argument
849 synchronized void nScriptGroupSetOutput(long group, long kernel, long alloc) { argument
851 rsnScriptGroupSetOutput(mContext, group, kernel, alloc);

Completed in 5406 milliseconds