| /libCEED/include/ceed/jit-source/cuda/ |
| H A D | cuda-ref-restriction-oriented.h | 15 …l__ void OrientedNoTranspose(const CeedInt *__restrict__ indices, const bool *__restrict__ orients, in OrientedNoTranspose() argument 19 const bool orient = orients[node]; in OrientedNoTranspose() 33 …dTranspose(const CeedInt *__restrict__ indices, const bool *__restrict__ orients, const CeedScalar… in OrientedTranspose() argument 37 const bool orient = orients[node]; in OrientedTranspose() 49 … const CeedInt *__restrict__ t_offsets, const bool *__restrict__ orients, in OrientedTranspose() argument 62 const bool orient = orients[t_ind]; in OrientedTranspose()
|
| /libCEED/include/ceed/jit-source/hip/ |
| H A D | hip-ref-restriction-oriented.h | 15 …l__ void OrientedNoTranspose(const CeedInt *__restrict__ indices, const bool *__restrict__ orients, in OrientedNoTranspose() argument 19 const bool orient = orients[node]; in OrientedNoTranspose() 33 …dTranspose(const CeedInt *__restrict__ indices, const bool *__restrict__ orients, const CeedScalar… in OrientedTranspose() argument 37 const bool orient = orients[node]; in OrientedTranspose() 49 … const CeedInt *__restrict__ t_offsets, const bool *__restrict__ orients, in OrientedTranspose() argument 62 const bool orient = orients[t_ind]; in OrientedTranspose()
|
| /libCEED/tests/ |
| H A D | t217-elemrestriction.c | 12 bool orients[elem_size * num_elem]; in main() local 26 orients[2 * i + 0] = (i % 2) > 0; // flip the dofs on element 1, 3, ... in main() 27 orients[2 * i + 1] = (i % 2) > 0; in main() 29 …em, elem_size, 1, 1, num_elem + 1, CEED_MEM_HOST, CEED_USE_POINTER, ind, orients, &elem_restrictio… in main()
|
| /libCEED/backends/memcheck/ |
| H A D | ceed-memcheck.h | 34 const bool *orients; /* Orientation, if it exists, is true when the dof must be flipped */ member 68 …Memcheck(CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients,
|
| H A D | ceed-memcheck-restriction.c | 102 …uu[impl->offsets[i + e * elem_size] + k * comp_stride] * (impl->orients[i + e * elem_size] ? -1.0 … in CeedElemRestrictionApplyOrientedNoTranspose_Memcheck_Core() 257 …vv_loc = uu[elem_size * (k * block_size + e * num_comp) + j - v_offset] * (impl->orients[j + e * e… in CeedElemRestrictionApplyOrientedTranspose_Memcheck_Core() 598 …ionGetOrientations_Memcheck(CeedElemRestriction rstr, CeedMemType mem_type, const bool **orients) { in CeedElemRestrictionGetOrientations_Memcheck() argument 605 *orients = impl->orients; in CeedElemRestrictionGetOrientations_Memcheck() 640 …Memcheck(CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients, in CeedElemRestrictionCreate_Memcheck() argument 723 …CeedCheck(orients != NULL, ceed, CEED_ERROR_BACKEND, "No orients array provided for oriented restr… in CeedElemRestrictionCreate_Memcheck() 727 memcpy(impl->orients_allocated, orients, num_offsets * sizeof(orients[0])); in CeedElemRestrictionCreate_Memcheck() 728 impl->orients = impl->orients_allocated; in CeedElemRestrictionCreate_Memcheck() 731 impl->orients_allocated = (bool *)orients; in CeedElemRestrictionCreate_Memcheck() 732 impl->orients = impl->orients_allocated; in CeedElemRestrictionCreate_Memcheck() [all …]
|
| /libCEED/backends/ref/ |
| H A D | ceed-ref.h | 24 const bool *orients; /* Orientation, if it exists, is true when the dof must be flipped */ member 67 …eate_Ref(CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients,
|
| H A D | ceed-ref-restriction.c | 89 …uu[impl->offsets[i + e * elem_size] + k * comp_stride] * (impl->orients[i + e * elem_size] ? -1.0 … in CeedElemRestrictionApplyOrientedNoTranspose_Ref_Core() 259 …vv_loc = uu[elem_size * (k * block_size + e * num_comp) + j - v_offset] * (impl->orients[j + e * e… in CeedElemRestrictionApplyOrientedTranspose_Ref_Core() 704 …trictionGetOrientations_Ref(CeedElemRestriction rstr, CeedMemType mem_type, const bool **orients) { in CeedElemRestrictionGetOrientations_Ref() argument 711 *orients = impl->orients; in CeedElemRestrictionGetOrientations_Ref() 746 …eate_Ref(CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients, in CeedElemRestrictionCreate_Ref() argument 825 …CeedCheck(orients != NULL, ceed, CEED_ERROR_BACKEND, "No orients array provided for oriented restr… in CeedElemRestrictionCreate_Ref() 826 …Backend(CeedSetHostBoolArray(orients, copy_mode, num_offsets, &impl->orients_owned, &impl->orients… in CeedElemRestrictionCreate_Ref()
|
| /libCEED/python/ |
| H A D | ceed_elemrestriction.py | 210 orients, memtype=MEM_HOST, cmode=COPY_VALUES): argument 220 self._array_reference_aux = orients 231 orients.__array_interface__['data'][0]) 376 offsets, orients, memtype=MEM_HOST, cmode=COPY_VALUES): argument 389 orients.__array_interface__['data'][0])
|
| H A D | ceed.py | 225 … offsets, orients, memtype=lib.CEED_MEM_HOST, cmode=lib.CEED_COPY_VALUES): argument 255 offsets, orients, memtype=memtype, cmode=cmode) 345 … lsize, offsets, orients, memtype=lib.CEED_MEM_HOST, cmode=lib.CEED_COPY_VALUES): argument 379 offsets, orients, memtype=memtype, cmode=cmode)
|
| /libCEED/python/tests/ |
| H A D | test-2-elemrestriction.py | 271 orients = np.zeros(2 * num_elem, dtype="bool") 276 orients[2 * i + 0] = (i % 2) > 0 277 orients[2 * i + 1] = (i % 2) > 0 285 orients,
|
| /libCEED/interface/ |
| H A D | ceed-elemrestriction.c | 64 int CeedPermutePadOrients(const bool *orients, bool *block_orients, CeedInt num_block, CeedInt num_… in CeedPermutePadOrients() argument 68 …block_orients[e * elem_size + k * block_size + j] = orients[CeedIntMin(e + j, num_elem - 1) * elem… in CeedPermutePadOrients() 313 …mRestrictionGetOrientations(CeedElemRestriction rstr, CeedMemType mem_type, const bool **orients) { in CeedElemRestrictionGetOrientations() argument 316 CeedCall(rstr->GetOrientations(rstr, mem_type, orients)); in CeedElemRestrictionGetOrientations() 331 int CeedElemRestrictionRestoreOrientations(CeedElemRestriction rstr, const bool **orients) { in CeedElemRestrictionRestoreOrientations() argument 332 *orients = NULL; in CeedElemRestrictionRestoreOrientations() 713 … CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients, in CeedElemRestrictionCreateOriented() argument 720 …elegate, num_elem, elem_size, num_comp, comp_stride, l_size, mem_type, copy_mode, offsets, orients, in CeedElemRestrictionCreateOriented() 742 CeedCall(ceed->ElemRestrictionCreate(mem_type, copy_mode, offsets, orients, NULL, *rstr)); in CeedElemRestrictionCreateOriented() 1020 … const CeedInt *offsets, const bool *orients, CeedElemRestriction *rstr) { in CeedElemRestrictionCreateBlockedOriented() argument [all …]
|
| H A D | ceed-fortran.c | 250 … int *copymode, const int *offsets, const bool *orients, int *elemrestriction, int *err) { in fCeedElemRestrictionCreateOriented() argument 257 const bool *orients_ = orients; in fCeedElemRestrictionCreateOriented() 331 … int *lsize, int *memtype, int *copymode, const int *offsets, const bool *orients, in fCeedElemRestrictionCreateBlockedOriented() argument 339 const bool *orients_ = orients; in fCeedElemRestrictionCreateBlockedOriented()
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref-restriction.c | 339 …rictionGetOrientations_Cuda(CeedElemRestriction rstr, CeedMemType mem_type, const bool **orients) { in CeedElemRestrictionGetOrientations_Cuda() argument 345 *orients = impl->h_orients; in CeedElemRestrictionGetOrientations_Cuda() 348 *orients = impl->d_orients; in CeedElemRestrictionGetOrientations_Cuda() 498 …ate_Cuda(CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients, in CeedElemRestrictionCreate_Cuda() argument 612 …CeedCallBackend(CeedSetHostBoolArray(orients, copy_mode, size, &impl->h_orients_owned, &impl->h_or… in CeedElemRestrictionCreate_Cuda() 618 …CeedCallBackend(CeedSetDeviceBoolArray_Cuda(ceed, orients, copy_mode, size, &impl->d_orients_owned… in CeedElemRestrictionCreate_Cuda()
|
| H A D | ceed-cuda-ref.h | 154 …ate_Cuda(CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients,
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref-restriction.c | 340 …trictionGetOrientations_Hip(CeedElemRestriction rstr, CeedMemType mem_type, const bool **orients) { in CeedElemRestrictionGetOrientations_Hip() argument 346 *orients = impl->h_orients; in CeedElemRestrictionGetOrientations_Hip() 349 *orients = impl->d_orients; in CeedElemRestrictionGetOrientations_Hip() 499 …eate_Hip(CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients, in CeedElemRestrictionCreate_Hip() argument 613 …CeedCallBackend(CeedSetHostBoolArray(orients, copy_mode, size, &impl->h_orients_owned, &impl->h_or… in CeedElemRestrictionCreate_Hip() 619 …CeedCallBackend(CeedSetDeviceBoolArray_Hip(ceed, orients, copy_mode, size, &impl->d_orients_owned,… in CeedElemRestrictionCreate_Hip()
|
| H A D | ceed-hip-ref.h | 159 …eate_Hip(CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients,
|
| /libCEED/rust/libceed/src/ |
| H A D | elem_restriction.rs | 213 orients: &[bool], in create_oriented() 235 orients.as_ptr(), in create_oriented()
|
| H A D | lib.rs | 518 orients: &[bool], in oriented_elem_restriction() 521 self, nelem, elemsize, ncomp, compstride, lsize, mtype, offsets, orients, in oriented_elem_restriction()
|
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-ref.hpp | 123 …ate_Sycl(CeedMemType mem_type, CeedCopyMode copy_mode, const CeedInt *offsets, const bool *orients,
|
| /libCEED/julia/LibCEED.jl/test/ |
| H A D | runtests.jl | 472 orients = Array{Bool}(undef, elemsize, nelem) 477 orients[1, i] = (i - 1)%2 > 0 478 orients[2, i] = (i - 1)%2 > 0 488 orients,
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | ElemRestriction.jl | 106 orients::AbstractArray{Bool}, 131 - `orients`: Array of shape `(elemsize, nelem)` with bool false for positively oriented 144 orients::AbstractArray{Bool}; 159 orients,
|
| /libCEED/backends/opt/ |
| H A D | ceed-opt-operator.c | 76 const bool *orients = NULL; in CeedOperatorSetupFields_Opt() local 80 CeedCallBackend(CeedElemRestrictionGetOrientations(rstr, CEED_MEM_HOST, &orients)); in CeedOperatorSetupFields_Opt() 82 … CEED_MEM_HOST, CEED_COPY_VALUES, offsets, orients, &block_rstr[i + start_e])); in CeedOperatorSetupFields_Opt() 84 CeedCallBackend(CeedElemRestrictionRestoreOrientations(rstr, &orients)); in CeedOperatorSetupFields_Opt()
|
| /libCEED/backends/blocked/ |
| H A D | ceed-blocked-operator.c | 76 const bool *orients = NULL; in CeedOperatorSetupFields_Blocked() local 80 CeedCallBackend(CeedElemRestrictionGetOrientations(rstr, CEED_MEM_HOST, &orients)); in CeedOperatorSetupFields_Blocked() 82 … CEED_MEM_HOST, CEED_COPY_VALUES, offsets, orients, &block_rstr[i + start_e])); in CeedOperatorSetupFields_Blocked() 84 CeedCallBackend(CeedElemRestrictionRestoreOrientations(rstr, &orients)); in CeedOperatorSetupFields_Blocked()
|
| /libCEED/julia/LibCEED.jl/src/generated/ |
| H A D | libceed_bindings.jl | 287 …d, num_elem, elem_size, num_comp, comp_stride, l_size, mem_type, copy_mode, offsets, orients, rstr) argument 288 …d, num_elem, elem_size, num_comp, comp_stride, l_size, mem_type, copy_mode, offsets, orients, rstr) 307 … elem_size, block_size, num_comp, comp_stride, l_size, mem_type, copy_mode, offsets, orients, rstr) argument 308 … elem_size, block_size, num_comp, comp_stride, l_size, mem_type, copy_mode, offsets, orients, rstr) 1048 function CeedElemRestrictionGetOrientations(rstr, mem_type, orients) argument 1049 …tions, libceed), Cint, (CeedElemRestriction, CeedMemType, Ptr{Ptr{Bool}}), rstr, mem_type, orients) 1052 function CeedElemRestrictionRestoreOrientations(rstr, orients) argument 1053 …strictionRestoreOrientations, libceed), Cint, (CeedElemRestriction, Ptr{Ptr{Bool}}), rstr, orients)
|
| /libCEED/include/ceed/ |
| H A D | backend.h | 311 …emRestrictionGetOrientations(CeedElemRestriction rstr, CeedMemType mem_type, const bool **orients); 312 …_EXTERN int CeedElemRestrictionRestoreOrientations(CeedElemRestriction rstr, const bool **orients);
|