Searched refs:krnl (Results 1 – 3 of 3) sorted by relevance
1277 const Kernel &krnl = kernel->cast<Kernel>(); in ValidateSetKernelArg() local1280 if (arg_index >= krnl.getInfo().args.size()) in ValidateSetKernelArg()1287 const std::string &typeName = krnl.getInfo().args[arg_index].typeName; in ValidateSetKernelArg()1408 const Kernel &krnl = kernel->cast<Kernel>(); in ValidateGetKernelWorkGroupInfo() local1414 if (krnl.getProgram().getContext().hasDevice(device)) in ValidateGetKernelWorkGroupInfo()1426 if (krnl.getProgram().getContext().getDevices().size() == 1u) in ValidateGetKernelWorkGroupInfo()1428 dev = krnl.getProgram().getContext().getDevices().front().get(); in ValidateGetKernelWorkGroupInfo()1437 const cl_version version = krnl.getProgram().getContext().getPlatform().getInfo().version; in ValidateGetKernelWorkGroupInfo()1444 if (!dev->supportsBuiltInKernel(krnl.getInfo().functionName)) in ValidateGetKernelWorkGroupInfo()2031 const Kernel &krnl = kernel->cast<Kernel>(); in ValidateEnqueueNDRangeKernel() local[all …]
556 const Kernel &krnl = kernel->cast<Kernel>(); in enqueueNDRangeKernel() local562 cl_int errorCode = mImpl->enqueueNDRangeKernel(krnl, workDim, globalWorkOffset, globalWorkSize, in enqueueNDRangeKernel()574 const Kernel &krnl = kernel->cast<Kernel>(); in enqueueTask() local580 cl_int errorCode = mImpl->enqueueTask(krnl, waitEvents, eventCreateFuncPtr); in enqueueTask()
559 Kernel &krnl = kernel->cast<Kernel>(); in ReleaseKernel() local560 if (krnl.release()) in ReleaseKernel()562 delete &krnl; in ReleaseKernel()