• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/

Lines Matching defs:kernel

499   // Directory where kernel objects are cached on device.
789 // kernel name. The breakpoint address is finally set using the address of this
799 // Attempt to set a breakpoint on the kernel name symbol within the module
853 for (const auto &kernel : funcs) {
855 if (!(m_kernel_types & kernel.second))
858 const auto kernel_name = kernel.first;
1134 {ArgItem::ePointer, 0}, // const ExpandFuncTy *kernel
1147 LLDB_LOGF(log, "%s - kernel : 0x%" PRIx64, __FUNCTION__,
1196 // parse kernel addresses in script group
1198 RSScriptGroupDescriptor::Kernel kernel;
1199 // extract script group kernel addresses from the target
1206 LLDB_LOGF(log, "Error parsing kernel address %" PRIu64 " in script group",
1210 LLDB_LOGF(log, "Extracted scriptgroup kernel address - 0x%" PRIx64,
1212 kernel.m_addr = kernel_addr;
1214 // try to resolve the associated kernel name
1215 if (!ResolveKernelName(kernel.m_addr, kernel.m_name)) {
1216 LLDB_LOGF(log, "Parsed scriptgroup kernel %" PRIu64 " - 0x%" PRIx64, i,
1224 const llvm::StringRef name_ref = kernel.m_name.GetStringRef();
1227 // verify this function is a valid kernel
1229 kernel.m_name = base_kernel;
1236 group->m_kernels.push_back(kernel);
2894 log->Error("Error parsing Renderscript reduction spec: invalid kernel "
3005 // The number of RenderScrip `forEach` kernels __attribute__((kernel))
3131 for (const auto &kernel : module->m_kernels) {
3132 strm.Indent(kernel.m_name.AsCString());
3443 // Set breakpoints on every kernel found in RS module
3446 for (const auto &kernel : rsmodule_sp->m_kernels) {
3447 // Don't set breakpoint on 'root' kernel
3448 if (strcmp(kernel.m_name.AsCString(), "root") == 0)
3451 CreateKernelBreakpoint(kernel.m_name);
3455 // Method is internally called by the 'kernel breakpoint all' command to enable
3484 // Given the name of a kernel this function creates a breakpoint using our own
3576 // Function attempts to find the current coordinate of a kernel invocation by
3622 // kernel invocation
3641 // Callback when a kernel breakpoint hits and we're looking for a specific
3656 "Error: null baton in conditional kernel breakpoint callback");
3669 // Find current kernel invocation from .expand frame variables
3680 // Check if the current kernel invocation coordinate matches our target
3701 messages.Printf("Conditional kernel breakpoint on coordinate " FMT_COORD,
3718 // Tries to set a breakpoint on the start of a kernel, resolved using the
3719 // kernel name. Argument 'coords', represents a three dimensional coordinate
3720 // which can be used to specify a single kernel instance to break on. If this
3913 for (const auto &kernel : m_kernels) {
3914 kernel.Dump(strm);
4033 interpreter, "renderscript kernel list",
4034 "Lists renderscript kernel names and associated script resources.",
4035 "renderscript kernel list",
4053 "Break on a comma separated set of reduction kernel types "
4057 "Set a breakpoint on a single invocation of the kernel with specified "
4060 "integers representing kernel dimensions. "
4147 "a comma-separated list of kernel types is required");
4158 err_str.Printf("unknown kernel type name %s", name.str().c_str());
4179 "and an optional kernel type list",
4211 "Set a breakpoint on a single invocation of the kernel with specified "
4214 "integers representing kernel dimensions. "
4223 interpreter, "renderscript kernel breakpoint set",
4224 "Sets a breakpoint on a renderscript kernel.",
4225 "renderscript kernel breakpoint set <kernel_name> [-c x,y,z]",
4281 "'%s' takes 1 argument of kernel name, and an optional coordinate.",
4298 "Error: unable to set breakpoint on kernel '%s'", name);
4317 interpreter, "renderscript kernel breakpoint all",
4323 "renderscript kernel breakpoint all <enable/disable>",
4388 interpreter, "renderscript kernel coordinate",
4389 "Shows the (x,y,z) coordinate of the current kernel invocation.",
4390 "renderscript kernel coordinate",
4421 interpreter, "renderscript kernel",
4440 : CommandObjectMultiword(interpreter, "renderscript kernel",
4905 "kernel", CommandObjectSP(