Lines Matching refs:PetscCallCUPM
61 } else PetscCallCUPM(cupmGetLastError()); in initialize()
63 if (cupmSetDevice(id()) != cupmErrorDeviceAlreadyInUse) PetscCallCUPM(cupmGetLastError()); in initialize()
65 PetscCallCUPM(cupmInit(0)); in initialize()
100 if (cupmSetDevice(id_) != cupmErrorDeviceAlreadyInUse) PetscCallCUPM(cupmGetLastError()); in configure()
102 PetscCallCUPM(cupmGetDeviceProperties(&dprop_, id_)); in configure()
124 PetscCallCUPM(cupmDeviceGetAttribute(&clock, cupmDevAttrClockRate, id_)); in view()
125 PetscCallCUPM(cupmDeviceGetAttribute(&memclock, cupmDevAttrMemoryClockRate, id_)); in view()
200 PetscCallCUPM(cupmMalloc(reinterpret_cast<void **>(&dbuf), sizeof(hbuf))); in CUPMAwareMPI_()
201 PetscCallCUPM(cupmMemcpy(dbuf, hbuf, sizeof(hbuf), cupmMemcpyHostToDevice)); in CUPMAwareMPI_()
202 PetscCallCUPM(cupmDeviceSynchronize()); in CUPMAwareMPI_()
208 PetscCallCUPM(cupmFree(dbuf)); in CUPMAwareMPI_()