Home
last modified time | relevance | path

Searched refs:h_points_per_elem (Results 1 – 10 of 10) sorted by relevance

/libCEED/backends/hip-shared/
H A Dceed-hip-shared.h37 CeedInt *h_points_per_elem; member
H A Dceed-hip-shared-basis.c322 CeedCallBackend(CeedFree(&data->h_points_per_elem)); in CeedBasisApplyAtPointsCore_Hip_shared()
323 CeedCallBackend(CeedCalloc(num_elem, &data->h_points_per_elem)); in CeedBasisApplyAtPointsCore_Hip_shared()
325 if (memcmp(data->h_points_per_elem, num_points, num_bytes)) { in CeedBasisApplyAtPointsCore_Hip_shared()
326 memcpy(data->h_points_per_elem, num_points, num_bytes); in CeedBasisApplyAtPointsCore_Hip_shared()
641 CeedCallBackend(CeedFree(&data->h_points_per_elem)); in CeedBasisDestroy_Hip_shared()
/libCEED/backends/cuda-shared/
H A Dceed-cuda-shared.h36 CeedInt *h_points_per_elem; member
H A Dceed-cuda-shared-basis.c257 CeedCallBackend(CeedFree(&data->h_points_per_elem)); in CeedBasisApplyAtPointsCore_Cuda_shared()
258 CeedCallBackend(CeedCalloc(num_elem, &data->h_points_per_elem)); in CeedBasisApplyAtPointsCore_Cuda_shared()
260 if (memcmp(data->h_points_per_elem, num_points, num_bytes)) { in CeedBasisApplyAtPointsCore_Cuda_shared()
261 memcpy(data->h_points_per_elem, num_points, num_bytes); in CeedBasisApplyAtPointsCore_Cuda_shared()
580 CeedCallBackend(CeedFree(&data->h_points_per_elem)); in CeedBasisDestroy_Cuda_shared()
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref.h57 const CeedInt *h_points_per_elem; member
81 CeedInt *h_points_per_elem; member
H A Dceed-cuda-ref-basis.c149 CeedCallBackend(CeedFree(&data->h_points_per_elem)); in CeedBasisApplyAtPointsCore_Cuda()
150 CeedCallBackend(CeedCalloc(num_elem, &data->h_points_per_elem)); in CeedBasisApplyAtPointsCore_Cuda()
152 if (memcmp(data->h_points_per_elem, num_points, num_bytes)) { in CeedBasisApplyAtPointsCore_Cuda()
153 memcpy(data->h_points_per_elem, num_points, num_bytes); in CeedBasisApplyAtPointsCore_Cuda()
366 CeedCallBackend(CeedFree(&data->h_points_per_elem)); in CeedBasisDestroy_Cuda()
H A Dceed-cuda-ref-restriction.c581 … &impl->h_points_per_elem_borrowed, &impl->h_points_per_elem)); in CeedElemRestrictionCreate_Cuda()
584 …cudaMemcpy((CeedInt **)impl->d_points_per_elem_owned, impl->h_points_per_elem, num_elem * sizeof(C… in CeedElemRestrictionCreate_Cuda()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref.h62 const CeedInt *h_points_per_elem; member
86 CeedInt *h_points_per_elem; member
H A Dceed-hip-ref-basis.c148 CeedCallBackend(CeedFree(&data->h_points_per_elem)); in CeedBasisApplyAtPointsCore_Hip()
149 CeedCallBackend(CeedCalloc(num_elem, &data->h_points_per_elem)); in CeedBasisApplyAtPointsCore_Hip()
151 if (memcmp(data->h_points_per_elem, num_points, num_bytes)) { in CeedBasisApplyAtPointsCore_Hip()
152 memcpy(data->h_points_per_elem, num_points, num_bytes); in CeedBasisApplyAtPointsCore_Hip()
365 CeedCallBackend(CeedFree(&data->h_points_per_elem)); in CeedBasisDestroy_Hip()
H A Dceed-hip-ref-restriction.c582 … &impl->h_points_per_elem_borrowed, &impl->h_points_per_elem)); in CeedElemRestrictionCreate_Hip()
585 …hipMemcpy((CeedInt **)impl->d_points_per_elem_owned, impl->h_points_per_elem, num_elem * sizeof(Ce… in CeedElemRestrictionCreate_Hip()