Home
last modified time | relevance | path

Searched refs:d_offsets_owned (Results 1 – 6 of 6) sorted by relevance

/libCEED/backends/sycl-ref/
H A Dceed-sycl-restriction.sycl.cpp237 CeedCallSycl(ceed, sycl::free(impl->d_offsets_owned, data->sycl_context)); in CeedElemRestrictionDestroy_Sycl()
421 …CeedCallSycl(ceed, impl->d_offsets_owned = sycl::malloc_device<CeedInt>(size, data->sycl_device, d… in CeedElemRestrictionCreate_Sycl()
425 …ent copy_event = data->sycl_queue.copy<CeedInt>(impl->h_offsets, impl->d_offsets_owned, size, {e}); in CeedElemRestrictionCreate_Sycl()
428 impl->d_offsets = impl->d_offsets_owned; in CeedElemRestrictionCreate_Sycl()
436 …CeedCallSycl(ceed, impl->d_offsets_owned = sycl::malloc_device<CeedInt>(size, data->sycl_device, d… in CeedElemRestrictionCreate_Sycl()
440 …sycl::event copy_event = data->sycl_queue.copy<CeedInt>(offsets, impl->d_offsets_owned, size, {e}); in CeedElemRestrictionCreate_Sycl()
443 impl->d_offsets = impl->d_offsets_owned; in CeedElemRestrictionCreate_Sycl()
447 impl->d_offsets_owned = (CeedInt *)offsets; in CeedElemRestrictionCreate_Sycl()
449 impl->d_offsets = impl->d_offsets_owned; in CeedElemRestrictionCreate_Sycl()
452 impl->d_offsets_owned = NULL; in CeedElemRestrictionCreate_Sycl()
H A Dceed-sycl-ref.hpp40 CeedInt *d_offsets_owned; member
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-restriction.c396 CeedCallCuda(ceed, cudaFree((CeedInt *)impl->d_offsets_owned)); in CeedElemRestrictionDestroy_Cuda()
593 CeedCallCuda(ceed, cudaMalloc((void **)&impl->d_offsets_owned, size * sizeof(CeedInt))); in CeedElemRestrictionCreate_Cuda()
594 …CeedCallCuda(ceed, cudaMemcpy((CeedInt *)impl->d_offsets_owned, impl->h_offsets, size * sizeof(Cee… in CeedElemRestrictionCreate_Cuda()
595 impl->d_offsets = (CeedInt *)impl->d_offsets_owned; in CeedElemRestrictionCreate_Cuda()
599 …eedSetDeviceCeedIntArray_Cuda(ceed, offsets, copy_mode, size, &impl->d_offsets_owned, &impl->d_off… in CeedElemRestrictionCreate_Cuda()
H A Dceed-cuda-ref.h35 const CeedInt *d_offsets_owned; member
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-restriction.c397 CeedCallHip(ceed, hipFree((CeedInt *)impl->d_offsets_owned)); in CeedElemRestrictionDestroy_Hip()
594 CeedCallHip(ceed, hipMalloc((void **)&impl->d_offsets_owned, size * sizeof(CeedInt))); in CeedElemRestrictionCreate_Hip()
595 …CeedCallHip(ceed, hipMemcpy((CeedInt **)impl->d_offsets_owned, impl->h_offsets, size * sizeof(Ceed… in CeedElemRestrictionCreate_Hip()
596 impl->d_offsets = (CeedInt *)impl->d_offsets_owned; in CeedElemRestrictionCreate_Hip()
600 …CeedSetDeviceCeedIntArray_Hip(ceed, offsets, copy_mode, size, &impl->d_offsets_owned, &impl->d_off… in CeedElemRestrictionCreate_Hip()
H A Dceed-hip-ref.h40 const CeedInt *d_offsets_owned; member