Lines Matching refs:ThePlatform
50 return takeStatusOr(ThePlatform->streamSync(TheHandle.get())); in sync()
54 return takeStatusOr(ThePlatform->streamWaitOnEvent( in waitOnEvent()
55 TheHandle.get(), ThePlatform->getEventHandle(Event))); in waitOnEvent()
60 setStatus(ThePlatform->addStreamCallback(*this, std::move(Callback))); in addCallback()
69 setStatus(ThePlatform->rawEnqueueKernelLaunch( in asyncKernelLaunch()
76 setStatus(ThePlatform->enqueueEvent(ThePlatform->getEventHandle(E), in enqueueEvent()
84 bool Event::isDone() { return ThePlatform->eventIsDone(TheHandle.get()); } in isDone()
86 Status Event::sync() { return ThePlatform->eventSync(TheHandle.get()); } in sync()
89 Expected<float> MaybeSeconds = ThePlatform->getSecondsBetweenEvents( in getSecondsSince()
98 ThePlatform->rawCreateKernel(TheHandle.get(), Name); in createKernel()
101 return Kernel(ThePlatform, MaybeKernelHandle.getValue(), in createKernel()
102 ThePlatform->getKernelHandleDestructor()); in createKernel()