Home
last modified time | relevance | path

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

/libCEED/backends/hip-shared/
H A Dceed-hip-shared.h35 CeedScalar *d_chebyshev_interp_1d; member
H A Dceed-hip-shared-basis.c339 if (!data->d_chebyshev_interp_1d) { in CeedBasisApplyAtPointsCore_Hip_shared()
346 CeedCallHip(ceed, hipMalloc((void **)&data->d_chebyshev_interp_1d, interp_bytes)); in CeedBasisApplyAtPointsCore_Hip_shared()
347 …CeedCallHip(ceed, hipMemcpy(data->d_chebyshev_interp_1d, chebyshev_interp_1d, interp_bytes, hipMem… in CeedBasisApplyAtPointsCore_Hip_shared()
388 …void *interp_args[] = {(void *)&num_elem, &data->d_chebyshev_interp_1d, &data->d_points_per_elem… in CeedBasisApplyAtPointsCore_Hip_shared()
436 …void *grad_args[] = {(void *)&num_elem, &data->d_chebyshev_interp_1d, &data->d_points_per_elem, … in CeedBasisApplyAtPointsCore_Hip_shared()
646 CeedCallHip(ceed, hipFree(data->d_chebyshev_interp_1d)); in CeedBasisDestroy_Hip_shared()
/libCEED/backends/cuda-shared/
H A Dceed-cuda-shared.h34 CeedScalar *d_chebyshev_interp_1d; member
H A Dceed-cuda-shared-basis.c274 if (!data->d_chebyshev_interp_1d) { in CeedBasisApplyAtPointsCore_Cuda_shared()
281 CeedCallCuda(ceed, cudaMalloc((void **)&data->d_chebyshev_interp_1d, interp_bytes)); in CeedBasisApplyAtPointsCore_Cuda_shared()
282 …CeedCallCuda(ceed, cudaMemcpy(data->d_chebyshev_interp_1d, chebyshev_interp_1d, interp_bytes, cuda… in CeedBasisApplyAtPointsCore_Cuda_shared()
322 …void *interp_args[] = {(void *)&num_elem, &data->d_chebyshev_interp_1d, &data->d_points_per_elem, … in CeedBasisApplyAtPointsCore_Cuda_shared()
372 …void *grad_args[] = {(void *)&num_elem, &data->d_chebyshev_interp_1d, &data->d_points_per_elem, &d… in CeedBasisApplyAtPointsCore_Cuda_shared()
585 CeedCallCuda(ceed, cudaFree(data->d_chebyshev_interp_1d)); in CeedBasisDestroy_Cuda_shared()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-basis.c165 if (!data->d_chebyshev_interp_1d) { in CeedBasisApplyAtPointsCore_Hip()
172 CeedCallHip(ceed, hipMalloc((void **)&data->d_chebyshev_interp_1d, interp_bytes)); in CeedBasisApplyAtPointsCore_Hip()
173 …CeedCallHip(ceed, hipMemcpy(data->d_chebyshev_interp_1d, chebyshev_interp_1d, interp_bytes, hipMem… in CeedBasisApplyAtPointsCore_Hip()
208 …void *interp_args[] = {(void *)&num_elem, &data->d_chebyshev_interp_1d, &data->d_points_pe… in CeedBasisApplyAtPointsCore_Hip()
215 …void *grad_args[] = {(void *)&num_elem, &data->d_chebyshev_interp_1d, &data->d_points_per_… in CeedBasisApplyAtPointsCore_Hip()
369 CeedCallHip(ceed, hipFree(data->d_chebyshev_interp_1d)); in CeedBasisDestroy_Hip()
H A Dceed-hip-ref.h84 CeedScalar *d_chebyshev_interp_1d; member
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-basis.c166 if (!data->d_chebyshev_interp_1d) { in CeedBasisApplyAtPointsCore_Cuda()
173 CeedCallCuda(ceed, cudaMalloc((void **)&data->d_chebyshev_interp_1d, interp_bytes)); in CeedBasisApplyAtPointsCore_Cuda()
174 …CeedCallCuda(ceed, cudaMemcpy(data->d_chebyshev_interp_1d, chebyshev_interp_1d, interp_bytes, cuda… in CeedBasisApplyAtPointsCore_Cuda()
209 …void *interp_args[] = {(void *)&num_elem, &data->d_chebyshev_interp_1d, &data->d_points_pe… in CeedBasisApplyAtPointsCore_Cuda()
216 …void *grad_args[] = {(void *)&num_elem, &data->d_chebyshev_interp_1d, &data->d_points_per_… in CeedBasisApplyAtPointsCore_Cuda()
370 CeedCallCuda(ceed, cudaFree(data->d_chebyshev_interp_1d)); in CeedBasisDestroy_Cuda()
H A Dceed-cuda-ref.h79 CeedScalar *d_chebyshev_interp_1d; member
/libCEED/backends/hip-gen/
H A Dceed-hip-gen-operator-build.cpp275 if (!basis_data->d_chebyshev_interp_1d) { in CeedOperatorBuildKernelFieldData_Hip_gen()
282 …llHip(CeedBasisReturnCeed(basis), hipMalloc((void **)&basis_data->d_chebyshev_interp_1d, interp_by… in CeedOperatorBuildKernelFieldData_Hip_gen()
284 …hipMemcpy(basis_data->d_chebyshev_interp_1d, chebyshev_interp_1d, interp_bytes, hipMemcpyHostToDev… in CeedOperatorBuildKernelFieldData_Hip_gen()
287 if (is_input) data->B.inputs[i] = basis_data->d_chebyshev_interp_1d; in CeedOperatorBuildKernelFieldData_Hip_gen()
288 else data->B.outputs[i] = basis_data->d_chebyshev_interp_1d; in CeedOperatorBuildKernelFieldData_Hip_gen()
313 if (!basis_data->d_chebyshev_interp_1d) { in CeedOperatorBuildKernelFieldData_Hip_gen()
320 …llHip(CeedBasisReturnCeed(basis), hipMalloc((void **)&basis_data->d_chebyshev_interp_1d, interp_by… in CeedOperatorBuildKernelFieldData_Hip_gen()
322 …hipMemcpy(basis_data->d_chebyshev_interp_1d, chebyshev_interp_1d, interp_bytes, hipMemcpyHostToDev… in CeedOperatorBuildKernelFieldData_Hip_gen()
325 if (is_input) data->B.inputs[i] = basis_data->d_chebyshev_interp_1d; in CeedOperatorBuildKernelFieldData_Hip_gen()
326 else data->B.outputs[i] = basis_data->d_chebyshev_interp_1d; in CeedOperatorBuildKernelFieldData_Hip_gen()
/libCEED/backends/cuda-gen/
H A Dceed-cuda-gen-operator-build.cpp248 if (!basis_data->d_chebyshev_interp_1d) { in CeedOperatorBuildKernelFieldData_Cuda_gen()
255 …Cuda(CeedBasisReturnCeed(basis), cudaMalloc((void **)&basis_data->d_chebyshev_interp_1d, interp_by… in CeedOperatorBuildKernelFieldData_Cuda_gen()
257 …cudaMemcpy(basis_data->d_chebyshev_interp_1d, chebyshev_interp_1d, interp_bytes, cudaMemcpyHostToD… in CeedOperatorBuildKernelFieldData_Cuda_gen()
260 if (is_input) data->B.inputs[i] = basis_data->d_chebyshev_interp_1d; in CeedOperatorBuildKernelFieldData_Cuda_gen()
261 else data->B.outputs[i] = basis_data->d_chebyshev_interp_1d; in CeedOperatorBuildKernelFieldData_Cuda_gen()
286 if (!basis_data->d_chebyshev_interp_1d) { in CeedOperatorBuildKernelFieldData_Cuda_gen()
293 …Cuda(CeedBasisReturnCeed(basis), cudaMalloc((void **)&basis_data->d_chebyshev_interp_1d, interp_by… in CeedOperatorBuildKernelFieldData_Cuda_gen()
295 …cudaMemcpy(basis_data->d_chebyshev_interp_1d, chebyshev_interp_1d, interp_bytes, cudaMemcpyHostToD… in CeedOperatorBuildKernelFieldData_Cuda_gen()
298 if (is_input) data->B.inputs[i] = basis_data->d_chebyshev_interp_1d; in CeedOperatorBuildKernelFieldData_Cuda_gen()
299 else data->B.outputs[i] = basis_data->d_chebyshev_interp_1d; in CeedOperatorBuildKernelFieldData_Cuda_gen()