Home
last modified time | relevance | path

Searched full:- (Results 1 – 25 of 1021) sorted by relevance

12345678910>>...41

/libCEED/include/ceed/
H A Dfortran.h1 ! 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
8 !-----------------------------------------------------------------------
10 !-----------------------------------------------------------------------
12 !-----------------------------------------------------------------------
14 !-----------------------------------------------------------------------
16 !-----------------------------------------------------------------------
24 !-----------------------------------------------------------------------
26 !-----------------------------------------------------------------------
[all …]
/libCEED/backends/cuda-ref/kernels/
H A Dcuda-ref-vector.cu1 // 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
11 //------------------------------------------------------------------------------
13 //------------------------------------------------------------------------------
17 if (index < stop - start) { in copyStridedK()
22 //------------------------------------------------------------------------------
24 //------------------------------------------------------------------------------
27 const CeedSize copy_size = stop - start; in CeedDeviceCopyStrided_Cuda()
35 //------------------------------------------------------------------------------
[all …]
/libCEED/backends/hip-ref/kernels/
H A Dhip-ref-vector.hip.cpp1 // 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
11 //------------------------------------------------------------------------------
13 //------------------------------------------------------------------------------
18 if ((index - start) % step == 0) vec_copy[index] = vec[index]; in copyStridedK()
22 //------------------------------------------------------------------------------
24 //------------------------------------------------------------------------------
35 //------------------------------------------------------------------------------
37 //------------------------------------------------------------------------------
[all …]
/libCEED/backends/ref/
H A Dceed-ref-vector.c1 // 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
13 #include "ceed-ref.h"
15 //------------------------------------------------------------------------------
17 //------------------------------------------------------------------------------
23 *has_valid_array = impl->array; in CeedVectorHasValidArray_Ref()
27 //------------------------------------------------------------------------------
29 //------------------------------------------------------------------------------
35 *has_borrowed_array_of_type = impl->array_borrowed; in CeedVectorHasBorrowedArrayOfType_Ref()
[all …]
H A Dceed-ref-qfunctioncontext.c1 // 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
13 #include "ceed-ref.h"
15 //------------------------------------------------------------------------------
17 //------------------------------------------------------------------------------
22 *has_valid_data = impl->data; in CeedQFunctionContextHasValidData_Ref()
26 //------------------------------------------------------------------------------
28 //------------------------------------------------------------------------------
34 *has_borrowed_data_of_type = impl->data_borrowed; in CeedQFunctionContextHasBorrowedDataOfType_Ref()
[all …]
/libCEED/backends/sycl-ref/kernels/
H A Dsycl-ref-vector.cpp1 // 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
12 //------------------------------------------------------------------------------
14 //------------------------------------------------------------------------------
22 //------------------------------------------------------------------------------
24 //------------------------------------------------------------------------------
35 //------------------------------------------------------------------------------
37 //------------------------------------------------------------------------------
42 if (fabs(vec[index]) > 1E-16) vec[index] = 1. / vec[index]; in rcpValueK()
[all …]
/libCEED/python/tests/
H A Dtest-1-vector.py1 # 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
18 # -------------------------------------------------------------------------------
20 # -------------------------------------------------------------------------------
28 # -------------------------------------------------------------------------------
30 # -------------------------------------------------------------------------------
46 # -------------------------------------------------------------------------------
48 # -------------------------------------------------------------------------------
72 # -------------------------------------------------------------------------------
[all …]
H A Dtest-0-ceed.py1 # 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
14 # -------------------------------------------------------------------------------
16 # -------------------------------------------------------------------------------
22 # -------------------------------------------------------------------------------
24 # -------------------------------------------------------------------------------
34 # -------------------------------------------------------------------------------
36 # -------------------------------------------------------------------------------
46 # -------------------------------------------------------------------------------
[all …]
/libCEED/include/ceed/jit-source/cuda/
H A Dcuda-gen-templates.h1 // 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
12 //------------------------------------------------------------------------------
14 //------------------------------------------------------------------------------
20 //------------------------------------------------------------------------------
22 //------------------------------------------------------------------------------
24 //------------------------------------------------------------------------------
25 // L-vector -> single point
26 //------------------------------------------------------------------------------
[all …]
H A Dcuda-shared-basis-tensor-templates.h1 // 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
12 //------------------------------------------------------------------------------
14 //------------------------------------------------------------------------------
16 //------------------------------------------------------------------------------
18 //------------------------------------------------------------------------------
32 //------------------------------------------------------------------------------
34 //------------------------------------------------------------------------------
48 //------------------------------------------------------------------------------
[all …]
H A Dcuda-shared-basis-read-write-templates.h1 // 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
12 //------------------------------------------------------------------------------
14 //------------------------------------------------------------------------------
20 //------------------------------------------------------------------------------
22 //------------------------------------------------------------------------------
24 //------------------------------------------------------------------------------
25 // E-vector -> single element
26 //------------------------------------------------------------------------------
[all …]
/libCEED/include/ceed/jit-source/hip/
H A Dhip-gen-templates.h1 // 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
12 //------------------------------------------------------------------------------
14 //------------------------------------------------------------------------------
20 //------------------------------------------------------------------------------
22 //------------------------------------------------------------------------------
24 //------------------------------------------------------------------------------
25 // L-vector -> single point
26 //------------------------------------------------------------------------------
[all …]
H A Dhip-shared-basis-tensor-templates.h1 // 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
12 //------------------------------------------------------------------------------
14 //------------------------------------------------------------------------------
16 //------------------------------------------------------------------------------
18 //------------------------------------------------------------------------------
32 //------------------------------------------------------------------------------
34 //------------------------------------------------------------------------------
48 //------------------------------------------------------------------------------
[all …]
H A Dhip-shared-basis-read-write-templates.h1 // 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
12 //------------------------------------------------------------------------------
14 //------------------------------------------------------------------------------
20 //------------------------------------------------------------------------------
22 //------------------------------------------------------------------------------
24 //------------------------------------------------------------------------------
25 // E-vector -> single element
26 //------------------------------------------------------------------------------
[all …]
/libCEED/backends/sycl-ref/
H A Dceed-sycl-vector.sycl.cpp1 // 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
15 #include "ceed-sycl-ref.hpp"
17 //------------------------------------------------------------------------------
19 //------------------------------------------------------------------------------
28 *need_sync = has_valid_array && !impl->h_array; in CeedVectorNeedSync_Sycl()
31 *need_sync = has_valid_array && !impl->d_array; in CeedVectorNeedSync_Sycl()
37 //------------------------------------------------------------------------------
39 //------------------------------------------------------------------------------
[all …]
H A Dceed-sycl-ref-qfunctioncontext.sycl.cpp1 // 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
14 #include "ceed-sycl-ref.hpp"
16 //------------------------------------------------------------------------------
18 //------------------------------------------------------------------------------
28 CeedCheck(impl->h_data, ceed, CEED_ERROR_BACKEND, "No valid host data to sync to device"); in CeedQFunctionContextSyncH2D_Sycl()
32 if (impl->d_data_borrowed) { in CeedQFunctionContextSyncH2D_Sycl()
33 impl->d_data = impl->d_data_borrowed; in CeedQFunctionContextSyncH2D_Sycl()
34 } else if (impl->d_data_owned) { in CeedQFunctionContextSyncH2D_Sycl()
[all …]
/libCEED/include/ceed/jit-source/sycl/
H A Dsycl-shared-basis-tensor-templates.h1 // 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
12 //------------------------------------------------------------------------------
14 //------------------------------------------------------------------------------
16 //------------------------------------------------------------------------------
18 //------------------------------------------------------------------------------
35 //------------------------------------------------------------------------------
37 //------------------------------------------------------------------------------
54 //------------------------------------------------------------------------------
[all …]
H A Dsycl-shared-basis-read-write-templates.h1 // 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
12 //------------------------------------------------------------------------------
14 //------------------------------------------------------------------------------
21 //------------------------------------------------------------------------------
23 //------------------------------------------------------------------------------
25 //------------------------------------------------------------------------------
26 // E-vector -> single element
27 //------------------------------------------------------------------------------
[all …]
H A Dsycl-gen-templates.h1 // 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
17 //------------------------------------------------------------------------------
19 //------------------------------------------------------------------------------
26 //------------------------------------------------------------------------------
28 //------------------------------------------------------------------------------
30 //------------------------------------------------------------------------------
31 // L-vector -> E-vector, offsets provided
32 //------------------------------------------------------------------------------
[all …]
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-vector.c1 // 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
15 #include "../cuda/ceed-cuda-common.h"
16 #include "ceed-cuda-ref.h"
18 //------------------------------------------------------------------------------
20 //------------------------------------------------------------------------------
29 *need_sync = has_valid_array && !impl->h_array; in CeedVectorNeedSync_Cuda()
32 *need_sync = has_valid_array && !impl->d_array; in CeedVectorNeedSync_Cuda()
38 //------------------------------------------------------------------------------
[all …]
H A Dceed-cuda-ref-qfunctioncontext.c1 // 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
14 #include "../cuda/ceed-cuda-common.h"
15 #include "ceed-cuda-ref.h"
17 //------------------------------------------------------------------------------
19 //------------------------------------------------------------------------------
28 CeedCheck(impl->h_data, ceed, CEED_ERROR_BACKEND, "No valid host data to sync to device"); in CeedQFunctionContextSyncH2D_Cuda()
31 if (impl->d_data_borrowed) { in CeedQFunctionContextSyncH2D_Cuda()
32 impl->d_data = impl->d_data_borrowed; in CeedQFunctionContextSyncH2D_Cuda()
[all …]
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-qfunctioncontext.c1 // 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
14 #include "../hip/ceed-hip-common.h"
15 #include "ceed-hip-ref.h"
17 //------------------------------------------------------------------------------
19 //------------------------------------------------------------------------------
28 CeedCheck(impl->h_data, ceed, CEED_ERROR_BACKEND, "No valid host data to sync to device"); in CeedQFunctionContextSyncH2D_Hip()
31 if (impl->d_data_borrowed) { in CeedQFunctionContextSyncH2D_Hip()
32 impl->d_data = impl->d_data_borrowed; in CeedQFunctionContextSyncH2D_Hip()
[all …]
H A Dceed-hip-ref-vector.c1 // 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
15 #include "../hip/ceed-hip-common.h"
16 #include "ceed-hip-ref.h"
18 //------------------------------------------------------------------------------
20 //------------------------------------------------------------------------------
29 *need_sync = has_valid_array && !impl->h_array; in CeedVectorNeedSync_Hip()
32 *need_sync = has_valid_array && !impl->d_array; in CeedVectorNeedSync_Hip()
38 //------------------------------------------------------------------------------
[all …]
/libCEED/
H A D.gitlab-ci.yml1 # ----------------------------------------------------------------------------------------
3 # ----------------------------------------------------------------------------------------
5 - test:cpu-and-tidy
6 - test:gpu-and-float
13 # ----------------------------------------------------------------------------------------
15 # ----------------------------------------------------------------------------------------
16 noether-asan:
17 stage: test:cpu-and-tidy
19 - cpu
24 - export COVERAGE=0 CC=gcc CXX=g++ FC=gfortran
[all …]
/libCEED/backends/memcheck/
H A Dceed-memcheck-vector.c1 // 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
16 #include "ceed-memcheck.h"
18 //------------------------------------------------------------------------------
20 //------------------------------------------------------------------------------
25 *has_valid_array = !!impl->array_allocated; in CeedVectorHasValidArray_Memcheck()
29 //------------------------------------------------------------------------------
31 //------------------------------------------------------------------------------
38 *has_borrowed_array_of_type = !!impl->array_borrowed; in CeedVectorHasBorrowedArrayOfType_Memcheck()
[all …]

12345678910>>...41