Home
last modified time | relevance | path

Searched full:ceed (Results 1 – 25 of 901) sorted by relevance

12345678910>>...37

/libCEED/examples/fluids/src/
H A Dsetuplibceed.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
11 #include <ceed.h>
18 Ceed ceed = user->ceed; in CreateKSPMassOperator_Unstabilized() local
31 PetscCallCeed(ceed, CeedOperatorCompositeGetSubList(user->op_rhs_ctx->op, &sub_ops)); in CreateKSPMassOperator_Unstabilized()
32 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "q", &field)); in CreateKSPMassOperator_Unstabilized()
33 PetscCallCeed(ceed, CeedOperatorFieldGetData(field, NULL, &elem_restr_q, &basis_q, NULL)); in CreateKSPMassOperator_Unstabilized()
35 PetscCallCeed(ceed, CeedOperatorGetFieldByName(sub_ops[sub_op_index], "qdata", &field)); in CreateKSPMassOperator_Unstabilized()
36 PetscCallCeed(ceed, CeedOperatorFieldGetData(field, NULL, &elem_restr_qd_i, NULL, &q_data)); in CreateKSPMassOperator_Unstabilized()
39 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_q, &num_comp_q)); in CreateKSPMassOperator_Unstabilized()
[all …]
H A Dstrong_boundary_conditions.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
10 #include <ceed.h>
16 PetscErrorCode SetupStrongSTG_Ceed(Ceed ceed, CeedData ceed_data, DM dm, ProblemData problem, Simpl… in SetupStrongSTG_Ceed() argument
36 PetscCall(CreateBasisFromPlex(ceed, dm, label, label_value, height, dm_field, &basis_q_sur)); in SetupStrongSTG_Ceed()
37 …PetscCall(CreateBasisFromPlex(ceed, dm_coord, label, label_value, height, dm_field, &basis_x_sur)); in SetupStrongSTG_Ceed()
39 PetscCallCeed(ceed, CeedBasisCreateProjection(basis_x_sur, basis_q_sur, &basis_x_to_q_sur)); in SetupStrongSTG_Ceed()
41 PetscCallCeed(ceed, CeedBasisDestroy(&basis_q_sur)); in SetupStrongSTG_Ceed()
42 PetscCallCeed(ceed, CeedBasisDestroy(&basis_x_sur)); in SetupStrongSTG_Ceed()
46 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, SetupStrongBC, SetupStrongBC_loc, &qf_set… in SetupStrongSTG_Ceed()
[all …]
H A Ddifferential_filter.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
11 #include <ceed.h>
18 PetscErrorCode DifferentialFilterCreateOperators(Ceed ceed, User user, CeedData ceed_data, CeedQFun… in DifferentialFilterCreateOperators() argument
26 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_x, &num_comp_x)); in DifferentialFilterCreateOperators()
27 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_q, &num_comp_q)); in DifferentialFilterCreateOperators()
28 …PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_qd_i, &num_comp_qd)); in DifferentialFilterCreateOperators()
35 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_RHS_Prim, Differential… in DifferentialFilterCreateOperators()
38 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_RHS_Conserv, Different… in DifferentialFilterCreateOperators()
41 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, DifferentialFilter_RHS_Entropy, Different… in DifferentialFilterCreateOperators()
[all …]
H A Dturb_spanstats.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
16 #include <ceed.h>
135 static PetscErrorCode CreateElemRestrColloc_CompMajor(Ceed ceed, CeedInt num_comp, CeedBasis basis,… in CreateElemRestrColloc_CompMajor() argument
140 PetscCallCeed(ceed, CeedBasisGetNumQuadraturePoints(basis, &num_elem_qpts)); in CreateElemRestrColloc_CompMajor()
141 PetscCallCeed(ceed, CeedElemRestrictionGetNumElements(elem_restr_base, &loc_num_elem)); in CreateElemRestrColloc_CompMajor()
144 …PetscCallCeed(ceed, CeedElemRestrictionCreateStrided(ceed, loc_num_elem, num_elem_qpts, num_comp, … in CreateElemRestrColloc_CompMajor()
150 PetscErrorCode GetQuadratureCoords(Ceed ceed, DM dm, CeedElemRestriction elem_restr_x, CeedBasis ba… in GetQuadratureCoords() argument
160 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_x, &num_comp_x)); in GetQuadratureCoords()
161 …PetscCall(CreateElemRestrColloc_CompMajor(ceed, num_comp_x, basis_x, elem_restr_x, &elem_restr_qx)… in GetQuadratureCoords()
[all …]
H A Dqdata.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
62 * @param[in] ceed Ceed object quadrature data will be used with
73 PetscErrorCode QDataGet(Ceed ceed, DM dm, DMLabel domain_label, PetscInt label_value, CeedElemRestr… in QDataGet() argument
82 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr_x, &num_comp_x)); in QDataGet()
88 … PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup2d, Setup2d_loc, &qf_setup)); in QDataGet()
91 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup2D_3Dcoords, Setup2D_3Dcoords_loc, &… in QDataGet()
96 PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, Setup, Setup_loc, &qf_setup)); in QDataGet()
101 PetscCallCeed(ceed, CeedQFunctionSetUserFlopsEstimate(qf_setup, 0)); in QDataGet()
102 …PetscCallCeed(ceed, CeedQFunctionAddInput(qf_setup, "dx", num_comp_x * (dim - height), CEED_EVAL_G… in QDataGet()
[all …]
H A Dgrid_anisotropy_tensor.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
14 PetscErrorCode GridAnisotropyTensorProjectionSetupApply(Ceed ceed, User user, CeedData ceed_data, C… in GridAnisotropyTensorProjectionSetupApply() argument
52 …PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_qd_i, &q_data_size)); in GridAnisotropyTensorProjectionSetupApply()
54 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, grid_aniso_proj->dm, domain_label, label_value, he… in GridAnisotropyTensorProjectionSetupApply()
55 …PetscCall(CreateBasisFromPlex(ceed, grid_aniso_proj->dm, domain_label, label_value, height, dm_fie… in GridAnisotropyTensorProjectionSetupApply()
58 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, AnisotropyTensorProjection, AnisotropyTen… in GridAnisotropyTensorProjectionSetupApply()
59 PetscCallCeed(ceed, CeedQFunctionAddInput(qf_rhs_assemble, "qdata", q_data_size, CEED_EVAL_NONE)); in GridAnisotropyTensorProjectionSetupApply()
60 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_assemble, "v", grid_aniso_proj->num_comp, CEED_E… in GridAnisotropyTensorProjectionSetupApply()
62 PetscCallCeed(ceed, CeedOperatorCreate(ceed, qf_rhs_assemble, NULL, NULL, &op_rhs_assemble)); in GridAnisotropyTensorProjectionSetupApply()
[all …]
H A Dvelocity_gradient_projection.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
42 PetscErrorCode VelocityGradientProjectionSetup(Ceed ceed, User user, CeedData ceed_data, ProblemDat… in VelocityGradientProjectionSetup() argument
60 PetscCallCeed(ceed, CeedBasisGetNumComponents(ceed_data->basis_x, &num_comp_x)); in VelocityGradientProjectionSetup()
61 PetscCallCeed(ceed, CeedBasisGetNumComponents(ceed_data->basis_q, &num_comp_input)); in VelocityGradientProjectionSetup()
62 …PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(ceed_data->elem_restr_qd_i, &q_data_size)); in VelocityGradientProjectionSetup()
63 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, grad_velo_proj->dm, domain_label, label_value, hei… in VelocityGradientProjectionSetup()
65 …PetscCall(CreateBasisFromPlex(ceed, grad_velo_proj->dm, domain_label, label_value, height, dm_fiel… in VelocityGradientProjectionSetup()
70 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, VelocityGradientProjectionRHS_Prim, Veloc… in VelocityGradientProjectionSetup()
74 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, VelocityGradientProjectionRHS_Conserv, Ve… in VelocityGradientProjectionSetup()
[all …]
/libCEED/interface/
H A Dceed.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
9 #include <ceed-impl.h>
10 #include <ceed.h>
11 #include <ceed/backend.h>
26 int (*init)(const char *resource, Ceed f);
35 /// Implementation of core components of Ceed library
103 /// Ceed Library Internal Functions
109 @brief Register a Ceed backend internally.
123 int CeedRegisterImpl(const char *prefix, int (*init)(const char *, Ceed), unsigned int priority) { in CeedRegisterImpl() argument
[all …]
/libCEED/backends/ref/
H A Dceed-ref.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include "ceed-ref.h"
10 #include <ceed.h>
11 #include <ceed/backend.h>
17 static int CeedInit_Ref(const char *resource, Ceed ceed) { in CeedInit_Ref() argument
18 …pu/self") || !strcmp(resource, "/cpu/self/ref") || !strcmp(resource, "/cpu/self/ref/serial"), ceed, in CeedInit_Ref()
20 CeedCallBackend(CeedSetDeterministic(ceed, true)); in CeedInit_Ref()
22 CeedCallBackend(CeedSetBackendFunction(ceed, "Ceed", ceed, "VectorCreate", CeedVectorCreate_Ref)); in CeedInit_Ref()
23 …CeedCallBackend(CeedSetBackendFunction(ceed, "Ceed", ceed, "BasisCreateTensorH1", CeedBasisCreateT… in CeedInit_Ref()
[all …]
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include "ceed-cuda-ref.h"
10 #include <ceed.h>
11 #include <ceed/backend.h>
15 #include "../cuda/ceed-cuda-common.h"
28 int CeedGetCublasHandle_Cuda(Ceed ceed, cublasHandle_t *handle) { in CeedGetCublasHandle_Cuda() argument
31 CeedCallBackend(CeedGetData(ceed, &data)); in CeedGetCublasHandle_Cuda()
32 if (!data->cublas_handle) CeedCallCublas(ceed, cublasCreate(&data->cublas_handle)); in CeedGetCublasHandle_Cuda()
40 static int CeedInit_Cuda_ref(const char *resource, Ceed ceed) { in CeedInit_Cuda_ref() argument
[all …]
H A Dceed-cuda-ref-basis.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include <ceed.h>
9 #include <ceed/backend.h>
10 #include <ceed/jit-tools.h>
15 #include "../cuda/ceed-cuda-common.h"
16 #include "../cuda/ceed-cuda-compile.h"
17 #include "ceed-cuda-ref.h"
24 Ceed ceed; in CeedBasisApplyCore_Cuda() local
32 CeedCallBackend(CeedBasisGetCeed(basis, &ceed)); in CeedBasisApplyCore_Cuda()
[all …]
/libCEED/backends/hip-ref/
H A Dceed-hip-ref.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include "ceed-hip-ref.h"
10 #include <ceed.h>
11 #include <ceed/backend.h>
15 #include "../hip/ceed-hip-common.h"
28 int CeedGetHipblasHandle_Hip(Ceed ceed, hipblasHandle_t *handle) { in CeedGetHipblasHandle_Hip() argument
31 CeedCallBackend(CeedGetData(ceed, &data)); in CeedGetHipblasHandle_Hip()
33 CeedCallHipblas(ceed, hipblasCreate(&data->hipblas_handle)); in CeedGetHipblasHandle_Hip()
34 CeedCallHipblas(ceed, hipblasSetPointerMode(data->hipblas_handle, HIPBLAS_POINTER_MODE_HOST)); in CeedGetHipblasHandle_Hip()
[all …]
H A Dceed-hip-ref-basis.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include <ceed.h>
9 #include <ceed/backend.h>
10 #include <ceed/jit-tools.h>
14 #include "../hip/ceed-hip-common.h"
15 #include "../hip/ceed-hip-compile.h"
16 #include "ceed-hip-ref.h"
23 Ceed ceed; in CeedBasisApplyCore_Hip() local
31 CeedCallBackend(CeedBasisGetCeed(basis, &ceed)); in CeedBasisApplyCore_Hip()
[all …]
/libCEED/backends/sycl-ref/
H A Dceed-sycl-ref.sycl.cpp2 // CEED contributors. All Rights Reserved. See the top-level LICENSE and NOTICE
7 // This file is part of CEED: http://github.com/ceed
9 #include "ceed-sycl-ref.hpp"
11 #include <ceed/backend.h>
12 #include <ceed/ceed.h>
28 static int CeedInit_Sycl_ref(const char *resource, Ceed ceed) { in CeedInit_Sycl_ref() argument
32 CeedCallBackend(CeedGetResourceRoot(ceed, resource, ":", &resource_root)); in CeedInit_Sycl_ref()
33 …e_root, "/gpu/sycl/ref") || !std::strcmp(resource_root, "/cpu/sycl/ref"), ceed, CEED_ERROR_BACKEND, in CeedInit_Sycl_ref()
36 CeedCallBackend(CeedSetDeterministic(ceed, true)); in CeedInit_Sycl_ref()
39 CeedCallBackend(CeedSetData(ceed, data)); in CeedInit_Sycl_ref()
[all …]
/libCEED/include/ceed/
H A Dbackend.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
12 #include <ceed.h>
35 /// @ingroup Ceed
49 /// @ingroup Ceed
61 /// @ingroup Ceed
77 /// This macro provides the tab width for viewing Ceed objects.
78 /// @ingroup Ceed
85 @ingroup Ceed
100 CEED_EXTERN bool CeedDebugFlag(const Ceed ceed);
[all …]
H A Dceed.h1 /// Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 /// This file is part of CEED: http://github.com/ceed
12 /// @defgroup Ceed Ceed: core components
23 /// These functions can generally be found in `"ceed.h"`.
25 …tions are intended to be used by general users of libCEED and can generally be found in `"ceed.h"`.
27 …ions are intended to be used by advanced users of libCEED and can generally be found in `"ceed.h"`.
29 …ended to be used by backend developers of libCEED and can generally be found in `"ceed-backend.h"`.
31 …intended to be used by library developers of libCEED and can generally be found in `"ceed-impl.h"`.
42 …ther file should declare publicly visible symbols, thus it should never be used outside `"ceed.h"`.
62 This line prevents IWYU from suggesting "ceed.h"
[all …]
/libCEED/backends/memcheck/
H A Dceed-memcheck-serial.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include <ceed.h>
9 #include <ceed/backend.h>
12 #include "ceed-memcheck.h"
17 static int CeedInit_Memcheck(const char *resource, Ceed ceed) { in CeedInit_Memcheck() argument
18 Ceed ceed_ref; in CeedInit_Memcheck()
20 … "/cpu/self/memcheck") || !strcmp(resource, "/cpu/self/memcheck/serial"), ceed, CEED_ERROR_BACKEND, in CeedInit_Memcheck()
23 // Create reference Ceed that implementation will be dispatched through unless overridden in CeedInit_Memcheck()
25 CeedCallBackend(CeedSetDelegate(ceed, ceed_ref)); in CeedInit_Memcheck()
[all …]
H A Dceed-memcheck-blocked.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include <ceed.h>
9 #include <ceed/backend.h>
12 #include "ceed-memcheck.h"
17 static int CeedInit_Memcheck(const char *resource, Ceed ceed) { in CeedInit_Memcheck() argument
18 Ceed ceed_ref; in CeedInit_Memcheck()
20 …CeedCheck(!strcmp(resource, "/cpu/self/memcheck/blocked"), ceed, CEED_ERROR_BACKEND, "Valgrind Mem… in CeedInit_Memcheck()
22 // Create reference Ceed that implementation will be dispatched through unless overridden in CeedInit_Memcheck()
24 CeedCallBackend(CeedSetDelegate(ceed, ceed_ref)); in CeedInit_Memcheck()
[all …]
/libCEED/backends/hip-gen/
H A Dceed-hip-gen.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include "ceed-hip-gen.h"
10 #include <ceed.h>
11 #include <ceed/backend.h>
14 #include "../hip/ceed-hip-common.h"
19 static int CeedInit_Hip_gen(const char *resource, Ceed ceed) { in CeedInit_Hip_gen() argument
21 Ceed ceed_shared, ceed_ref; in CeedInit_Hip_gen()
24 CeedCallBackend(CeedGetResourceRoot(ceed, resource, ":", &resource_root)); in CeedInit_Hip_gen()
25 …CeedCheck(!strcmp(resource_root, "/gpu/hip") || !strcmp(resource_root, "/gpu/hip/gen"), ceed, CEED… in CeedInit_Hip_gen()
[all …]
/libCEED/backends/cuda-gen/
H A Dceed-cuda-gen.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include "ceed-cuda-gen.h"
10 #include <ceed.h>
11 #include <ceed/backend.h>
14 #include "../cuda/ceed-cuda-common.h"
19 static int CeedInit_Cuda_gen(const char *resource, Ceed ceed) { in CeedInit_Cuda_gen() argument
21 Ceed ceed_shared, ceed_ref; in CeedInit_Cuda_gen()
24 CeedCallBackend(CeedGetResourceRoot(ceed, resource, ":", &resource_root)); in CeedInit_Cuda_gen()
25 …CeedCheck(!strcmp(resource_root, "/gpu/cuda") || !strcmp(resource_root, "/gpu/cuda/gen"), ceed, CE… in CeedInit_Cuda_gen()
[all …]
/libCEED/backends/cuda/
H A Dceed-cuda-compile.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
9 #include <ceed.h>
10 #include <ceed/backend.h>
15 CEED_INTERN int CeedCompile_Cuda(Ceed ceed, const char *source, CUmodule *module, const CeedInt num…
16 CEED_INTERN int CeedTryCompile_Cuda(Ceed ceed, const char *source, bool *is_compile_good, CUmodule …
18 CEED_INTERN int CeedGetKernel_Cuda(Ceed ceed, CUmodule module, const char *name, CUfunction *kernel…
20 CEED_INTERN int CeedRunKernel_Cuda(Ceed ceed, CUfunction kernel, int grid_size, int block_size, voi…
22 CEED_INTERN int CeedRunKernelAutoblockCuda(Ceed ceed, CUfunction kernel, size_t points, void **args…
24 CEED_INTERN int CeedRunKernelDim_Cuda(Ceed ceed, CUfunction kernel, int grid_size, int block_size_x…
[all …]
H A Dceed-cuda-common.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
9 #include <ceed.h>
10 #include <ceed/backend.h>
16 #define CeedChk_Cu(ceed, x) \ argument
22 return CeedError((ceed), CEED_ERROR_BACKEND, msg); \
26 #define CeedChk_Cublas(ceed, x) \ argument
31 return CeedError((ceed), CEED_ERROR_BACKEND, msg); \
35 #define CeedCallCuda(ceed, ...) \ argument
38 CeedChk_Cu(ceed, ierr_q_); \
[all …]
/libCEED/backends/magma/
H A Dceed-magma.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
8 #include "ceed-magma.h"
10 #include <ceed.h>
11 #include <ceed/backend.h>
15 #include "ceed-magma-common.h"
20 static int CeedInit_Magma(const char *resource, Ceed ceed) { in CeedInit_Magma() argument
21 Ceed ceed_ref; in CeedInit_Magma()
25 …ce, "/gpu/cuda/magma", nrc) || !strncmp(resource, "/gpu/hip/magma", nrc), ceed, CEED_ERROR_BACKEND, in CeedInit_Magma()
29 CeedCallBackend(CeedSetData(ceed, data)); in CeedInit_Magma()
[all …]
/libCEED/backends/hip/
H A Dceed-hip-common.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
6 // This file is part of CEED: http://github.com/ceed
9 #include <ceed.h>
10 #include <ceed/backend.h>
20 #define CeedChk_Hip(ceed, x) \ argument
25 return CeedError((ceed), CEED_ERROR_BACKEND, msg); \
29 #define CeedChk_Hipblas(ceed, x) \ argument
34 return CeedError((ceed), CEED_ERROR_BACKEND, msg); \
38 #define CeedCallHip(ceed, ...) \ argument
41 CeedChk_Hip(ceed, ierr_q_); \
[all …]
/libCEED/julia/LibCEED.jl/src/
H A DCeed.jl18 ceed::C.Ceed, argument
29 (C.Ceed, Cstring, Ptr{Cvoid}),
30 ceed,
40 mutable struct Ceed struct
41 ref::RefValue{C.Ceed} argument
45 Ceed(spec="/cpu/self")
47 Wraps a libCEED `Ceed` object, created with the given resource specification string.
49 function Ceed(spec::AbstractString="/cpu/self") function
50 obj = Ceed(Ref{C.Ceed}())
55 (C.Ceed, Cstring, Cint, Cstring, Cint, Cstring, Ptr{Cvoid})
[all …]

12345678910>>...37