Searched refs:cupmFreeAsync (Results 1 – 6 of 6) sorted by relevance
| /petsc/include/petsc/private/ |
| H A D | cupminterface.hpp | 250 PETSC_CUPM_ALIAS_FUNCTION(cupmFreeAsync, cudaFreeAsync) in PETSC_CUPM_ALIAS_FUNCTION() 253 PETSC_CUPM_ALIAS_FUNCTION_GOBBLE(cupmFreeAsync, cudaFree, 1) in PETSC_CUPM_ALIAS_FUNCTION() 395 PETSC_CUPM_ALIAS_FUNCTION(cupmFreeAsync, hipFreeAsync) 398 PETSC_CUPM_ALIAS_FUNCTION_GOBBLE(cupmFreeAsync, hipFree, 1) 794 PETSC_NODISCARD static cupmError_t cupmFreeAsync(M &ptr, cupmStream_t stream = nullptr) noexcept in cupmFreeAsync() function 800 auto cerr = interface_type::cupmFreeAsync(std::forward<M>(ptr), stream); in cupmFreeAsync() 808 …SCARD static cupmError_t cupmFreeAsync(std::nullptr_t ptr, cupmStream_t stream = nullptr) { return… in cupmFreeAsync() function 813 return cupmFreeAsync(ptr); in cupmFree() 816 PETSC_NODISCARD static cupmError_t cupmFree(std::nullptr_t ptr) { return cupmFreeAsync(ptr); } in cupmFree() 945 using ::Petsc::device::cupm::impl::Interface<T>::cupmFreeAsync; \
|
| H A D | veccupmimpl.h | 308 PetscCallCUPM(cupmFreeAsync(device_array, stream)); in ResetAllocatedDevicePtr_() 1087 for (auto &&ptr : cntptrs) PetscCallCUPM(cupmFreeAsync(ptr.get(), stream)); in ResetPreallocationCOO_CUPMBase() 1088 …ay(std::ref(vcu->sendbuf_d), std::ref(vcu->recvbuf_d))) PetscCallCUPM(cupmFreeAsync(ptr.get(), str… in ResetPreallocationCOO_CUPMBase()
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmallocator.hpp | 116 PetscCallCUPM(cupmFreeAsync(ptr, stream->get_stream())); in deallocate()
|
| H A D | cupmcontext.hpp | 520 PetscCallCUPM(cupmFreeAsync(*ptr, stream.get_stream())); in memFree() 526 if (*ptr) PetscCallCUPM(cupmFreeAsync(*ptr, stream.get_stream())); in memFree()
|
| /petsc/src/mat/impls/dense/seq/cupm/ |
| H A D | matseqdensecupm.hpp | 217 if (!mcu->d_user_alloc) PetscCallCUPM(cupmFreeAsync(mcu->d_v, stream)); in SetPreallocation_() 342 PetscCallCUPM(cupmFreeAsync(mcu->d_fact_work, stream)); in ResizeFactLwork() 798 PetscCallCUPM(cupmFreeAsync(y, stream)); in MatMatSolve_Factored_Dispatch_() 1035 if (!mcu->d_user_alloc) PetscCallCUPM(cupmFreeAsync(mcu->d_v, stream)); in Reset() 1036 PetscCallCUPM(cupmFreeAsync(mcu->d_fact_tau, stream)); in Reset() 1037 PetscCallCUPM(cupmFreeAsync(mcu->d_fact_ipiv, stream)); in Reset() 1038 PetscCallCUPM(cupmFreeAsync(mcu->d_fact_info, stream)); in Reset() 1039 PetscCallCUPM(cupmFreeAsync(mcu->d_fact_work, stream)); in Reset() 1264 PetscCallCUPM(cupmFreeAsync(mcu->d_v, stream)); in ReplaceArray() 1809 PetscCallCUPM(cupmFreeAsync(mcu->d_fact_work, stream)); in InvertFactors()
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 373 PetscCallCUPM(cupmFreeAsync(device_array, stream)); in GetLocalVector() 433 PetscCallCUPM(cupmFreeAsync(VecCUPMCast(w)->array_d, stream)); in RestoreLocalVector()
|