| /libCEED/backends/ref/ |
| H A D | ceed-ref.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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> 14 //------------------------------------------------------------------------------ 16 //------------------------------------------------------------------------------ 17 static int CeedInit_Ref(const char *resource, Ceed ceed) { in CeedInit_Ref() argument [all …]
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" 17 //------------------------------------------------------------------------------ 19 //------------------------------------------------------------------------------ [all …]
|
| H A D | ceed-cuda-ref-basis.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" [all …]
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" 17 //------------------------------------------------------------------------------ 19 //------------------------------------------------------------------------------ [all …]
|
| H A D | ceed-hip-ref-basis.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" [all …]
|
| /libCEED/interface/ |
| H A D | ceed.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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 87 Calling @ref CeedRequestWait() on a `NULL` request is a no-op. [all …]
|
| H A D | ceed-object.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 6 // This file is part of CEED: http://github.com/ceed 8 #include <ceed-impl.h> 9 #include <ceed.h> 10 #include <ceed/backend.h> 15 /// ---------------------------------------------------------------------------- 17 /// ---------------------------------------------------------------------------- 24 …Note: This interface takes a `CeedObject` and not a pointer to a `CeedObject` like other `Ceed*Cre… [all …]
|
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-ref.sycl.cpp | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other 2 // CEED contributors. All Rights Reserved. See the top-level LICENSE and NOTICE 5 // SPDX-License-Identifier: BSD-2-Clause 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> 17 //------------------------------------------------------------------------------ 19 //------------------------------------------------------------------------------ 25 //------------------------------------------------------------------------------ [all …]
|
| /libCEED/examples/fluids/src/ |
| H A D | setuplibceed.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 6 // This file is part of CEED: http://github.com/ceed 9 /// Setup libCEED for Navier-Stokes example using PETSc 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() [all …]
|
| /libCEED/backends/memcheck/ |
| H A D | ceed-memcheck-serial.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" 14 //------------------------------------------------------------------------------ 16 //------------------------------------------------------------------------------ 17 static int CeedInit_Memcheck(const char *resource, Ceed ceed) { in CeedInit_Memcheck() argument [all …]
|
| H A D | ceed-memcheck-blocked.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" 14 //------------------------------------------------------------------------------ 16 //------------------------------------------------------------------------------ 17 static int CeedInit_Memcheck(const char *resource, Ceed ceed) { in CeedInit_Memcheck() argument [all …]
|
| /libCEED/backends/hip-gen/ |
| H A D | ceed-hip-gen.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" 16 //------------------------------------------------------------------------------ 18 //------------------------------------------------------------------------------ [all …]
|
| /libCEED/backends/cuda-gen/ |
| H A D | ceed-cuda-gen.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" 16 //------------------------------------------------------------------------------ 18 //------------------------------------------------------------------------------ [all …]
|
| /libCEED/backends/magma/ |
| H A D | ceed-magma.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" 17 //------------------------------------------------------------------------------ 19 //------------------------------------------------------------------------------ [all …]
|
| H A D | ceed-magma-basis.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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" 17 #include "../cuda/ceed-cuda-common.h" [all …]
|
| /libCEED/backends/hip/ |
| H A D | ceed-hip-compile.cpp | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 6 // This file is part of CEED: http://github.com/ceed 8 #include "ceed-hip-compile.h" 10 #include <ceed.h> 11 #include <ceed/backend.h> 12 #include <ceed/jit-tools.h> 19 #include "ceed-hip-common.h" 21 #define CeedChk_hiprtc(ceed, x) … argument [all …]
|
| H A D | ceed-hip-common.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 6 // This file is part of CEED: http://github.com/ceed 8 #include "ceed-hip-common.h" 10 #include <ceed.h> 11 #include <ceed/backend.h> 15 //------------------------------------------------------------------------------ 17 //------------------------------------------------------------------------------ 18 int CeedInit_Hip(Ceed ceed, const char *resource) { in CeedInit_Hip() argument [all …]
|
| /libCEED/backends/cuda-shared/ |
| H A D | ceed-cuda-shared.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 6 // This file is part of CEED: http://github.com/ceed 8 #include "ceed-cuda-shared.h" 10 #include <ceed.h> 11 #include <ceed/backend.h> 15 #include "../cuda/ceed-cuda-common.h" 17 //------------------------------------------------------------------------------ 19 //------------------------------------------------------------------------------ [all …]
|
| H A D | ceed-cuda-shared-basis.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 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> 17 #include "../cuda/ceed-cuda-common.h" 18 #include "../cuda/ceed-cuda-compile.h" 19 #include "ceed-cuda-shared.h" [all …]
|
| /libCEED/backends/hip-shared/ |
| H A D | ceed-hip-shared.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 6 // This file is part of CEED: http://github.com/ceed 8 #include "ceed-hip-shared.h" 10 #include <ceed.h> 11 #include <ceed/backend.h> 15 #include "../hip/ceed-hip-common.h" 17 //------------------------------------------------------------------------------ 19 //------------------------------------------------------------------------------ [all …]
|
| /libCEED/python/tests/ |
| H A D | test-3-basis.py | 1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors 2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 # SPDX-License-Identifier: BSD-2-Clause 6 # This file is part of CEED: http://github.com/ceed 9 # Test Ceed Basis functionality 20 # ------------------------------------------------------------------------------- 22 # ------------------------------------------------------------------------------- 28 result *= math.tanh(x[d] - center) 40 # ------------------------------------------------------------------------------- 42 # ------------------------------------------------------------------------------- [all …]
|
| H A D | test-5-operator.py | 1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors 2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 # SPDX-License-Identifier: BSD-2-Clause 6 # This file is part of CEED: http://github.com/ceed 9 # Test Ceed Operator functionality 19 # ------------------------------------------------------------------------------- 21 # ------------------------------------------------------------------------------- 36 # ------------------------------------------------------------------------------- 38 # ------------------------------------------------------------------------------- 42 ceed = libceed.Ceed(ceed_resource) [all …]
|
| /libCEED/backends/cuda/ |
| H A D | ceed-cuda-compile.cpp | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 6 // This file is part of CEED: http://github.com/ceed 8 #include "ceed-cuda-compile.h" 10 #include <ceed.h> 11 #include <ceed/backend.h> 12 #include <ceed/jit-tools.h> 28 #include "ceed-cuda-common.h" 30 #define CeedChk_Nvrtc(ceed, x) … argument [all …]
|
| H A D | ceed-cuda-common.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 6 // This file is part of CEED: http://github.com/ceed 8 #include "ceed-cuda-common.h" 10 #include <ceed.h> 11 #include <ceed/backend.h> 16 //------------------------------------------------------------------------------ 18 //------------------------------------------------------------------------------ 19 int CeedInit_Cuda(Ceed ceed, const char *resource) { in CeedInit_Cuda() argument [all …]
|
| /libCEED/backends/sycl-gen/ |
| H A D | ceed-sycl-gen.sycl.cpp | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 6 // This file is part of CEED: http://github.com/ceed 8 #include "ceed-sycl-gen.hpp" 10 #include <ceed/backend.h> 11 #include <ceed/ceed.h> 17 //------------------------------------------------------------------------------ 19 //------------------------------------------------------------------------------ 20 static int CeedInit_Sycl_gen(const char *resource, Ceed ceed) { in CeedInit_Sycl_gen() argument [all …]
|