Lines Matching refs:CUDAPlatform

76 class CUDAPlatform : public Platform {  class
78 ~CUDAPlatform() override = default;
80 static Expected<CUDAPlatform> create();
146 explicit CUDAPlatform(const std::vector<CUcontext> &Contexts) in CUDAPlatform() function in acxxel::__anon21f1c6380111::CUDAPlatform
161 Expected<CUDAPlatform> CUDAPlatform::create() { in create()
182 return CUDAPlatform(Contexts); in create()
185 Expected<int> CUDAPlatform::getDeviceCount() { in getDeviceCount()
197 Expected<Stream> CUDAPlatform::createStream(int DeviceIndex) { in createStream()
208 Status CUDAPlatform::streamSync(void *Stream) { in streamSync()
213 Status CUDAPlatform::streamWaitOnEvent(void *Stream, void *Event) { in streamWaitOnEvent()
225 Expected<Event> CUDAPlatform::createEvent(int DeviceIndex) { in createEvent()
236 Status CUDAPlatform::enqueueEvent(void *Event, void *Stream) { in enqueueEvent()
242 bool CUDAPlatform::eventIsDone(void *Event) { in eventIsDone()
246 Status CUDAPlatform::eventSync(void *Event) { in eventSync()
251 Expected<float> CUDAPlatform::getSecondsBetweenEvents(void *StartEvent, in getSecondsBetweenEvents()
261 Expected<void *> CUDAPlatform::rawMallocD(ptrdiff_t ByteCount, in rawMallocD()
278 HandleDestructor CUDAPlatform::getDeviceMemoryHandleDestructor() { in getDeviceMemoryHandleDestructor()
282 void *CUDAPlatform::getDeviceMemorySpanHandle(void *BaseHandle, size_t, in getDeviceMemorySpanHandle()
287 void CUDAPlatform::rawDestroyDeviceMemorySpanHandle(void *) { in rawDestroyDeviceMemorySpanHandle()
291 Expected<void *> CUDAPlatform::rawGetDeviceSymbolAddress(const void *Symbol, in rawGetDeviceSymbolAddress()
302 Expected<ptrdiff_t> CUDAPlatform::rawGetDeviceSymbolSize(const void *Symbol, in rawGetDeviceSymbolSize()
321 Status CUDAPlatform::rawRegisterHostMem(const void *Memory, in rawRegisterHostMem()
333 HandleDestructor CUDAPlatform::getUnregisterHostMemoryHandleDestructor() { in getUnregisterHostMemoryHandleDestructor()
337 Expected<void *> CUDAPlatform::rawMallocRegisteredH(ptrdiff_t ByteCount) { in rawMallocRegisteredH()
349 HandleDestructor CUDAPlatform::getFreeHostMemoryHandleDestructor() { in getFreeHostMemoryHandleDestructor()
353 Status CUDAPlatform::asyncCopyDToD(const void *DeviceSrc, in asyncCopyDToD()
367 Status CUDAPlatform::asyncCopyDToH(const void *DeviceSrc, in asyncCopyDToH()
377 Status CUDAPlatform::asyncCopyHToD(const void *HostSrc, void *DeviceDst, in asyncCopyHToD()
387 Status CUDAPlatform::asyncMemsetD(void *DeviceDst, ptrdiff_t ByteOffset, in asyncMemsetD()
415 Status CUDAPlatform::addStreamCallback(Stream &Stream, in addStreamCallback()
430 Expected<Program> CUDAPlatform::createProgramFromSource(Span<const char> Source, in createProgramFromSource()
462 Expected<void *> CUDAPlatform::rawCreateKernel(void *Program, in rawCreateKernel()
475 HandleDestructor CUDAPlatform::getKernelHandleDestructor() { in getKernelHandleDestructor()
479 Status CUDAPlatform::rawEnqueueKernelLaunch( in rawEnqueueKernelLaunch()
498 static auto MaybePlatform = []() -> Expected<CUDAPlatform *> { in getPlatform()
499 Expected<CUDAPlatform> CreationResult = CUDAPlatform::create(); in getPlatform()
503 return new CUDAPlatform(CreationResult.takeValue()); in getPlatform()