Home
last modified time | relevance | path

Searched refs:stop (Results 1 – 15 of 15) sorted by relevance

/libCEED/backends/ref/
H A Dceed-ref-restriction.c20 … const CeedInt start, const CeedInt stop, const CeedInt num_elem, in CeedElemRestrictionApplyStridedNoTranspose_Ref_Core() argument
30 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyStridedNoTranspose_Ref_Core()
45 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyStridedNoTranspose_Ref_Core()
60 … const CeedInt comp_stride, const CeedInt start, const CeedInt stop, in CeedElemRestrictionApplyOffsetNoTranspose_Ref_Core() argument
67 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyOffsetNoTranspose_Ref_Core()
78 … const CeedInt comp_stride, const CeedInt start, const CeedInt stop, in CeedElemRestrictionApplyOrientedNoTranspose_Ref_Core() argument
85 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyOrientedNoTranspose_Ref_Core()
97 … const CeedInt comp_stride, const CeedInt start, const CeedInt stop, in CeedElemRestrictionApplyCurlOrientedNoTranspose_Ref_Core() argument
104 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyCurlOrientedNoTranspose_Ref_Core()
140 … const CeedInt start, const CeedInt stop, const CeedInt num_elem, in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Ref_Core() argument
[all …]
/libCEED/backends/cuda-ref/kernels/
H A Dcuda-ref-vector.cu14 __global__ static void copyStridedK(CeedScalar *__restrict__ vec, CeedSize start, CeedSize stop, Ce… in copyStridedK() argument
17 if (index < stop - start) { in copyStridedK()
25 extern "C" int CeedDeviceCopyStrided_Cuda(CeedScalar *d_array, CeedSize start, CeedSize stop, CeedS… in CeedDeviceCopyStrided_Cuda() argument
27 const CeedSize copy_size = stop - start; in CeedDeviceCopyStrided_Cuda()
31 copyStridedK<<<grid_size, block_size>>>(d_array, start, stop, step, d_copy_array); in CeedDeviceCopyStrided_Cuda()
60 __global__ static void setValueStridedK(CeedScalar *__restrict__ vec, CeedSize start, CeedSize stop in setValueStridedK() argument
63 if (index < stop - start) { in setValueStridedK()
71 extern "C" int CeedDeviceSetValueStrided_Cuda(CeedScalar *d_array, CeedSize start, CeedSize stop, C… in CeedDeviceSetValueStrided_Cuda() argument
73 const CeedSize set_size = stop - start; in CeedDeviceSetValueStrided_Cuda()
77 setValueStridedK<<<grid_size, block_size>>>(d_array, start, stop, step, val); in CeedDeviceSetValueStrided_Cuda()
/libCEED/backends/memcheck/
H A Dceed-memcheck-restriction.c47 … CeedInt start, CeedInt stop, CeedInt num_elem, CeedInt elem_size, in CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core() argument
59 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core()
73 … const CeedInt comp_stride, CeedInt start, CeedInt stop, CeedInt num_elem, in CeedElemRestrictionApplyOffsetNoTranspose_Memcheck_Core() argument
80 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyOffsetNoTranspose_Memcheck_Core()
92 … CeedInt stop, CeedInt num_elem, CeedInt elem_size, CeedSize v_offset, in CeedElemRestrictionApplyOrientedNoTranspose_Memcheck_Core() argument
98 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyOrientedNoTranspose_Memcheck_Core()
111 … CeedInt stop, CeedInt num_elem, CeedInt elem_size, CeedSize v_offset, in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core() argument
117 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyCurlOrientedNoTranspose_Memcheck_Core()
152 …CeedInt num_comp, const CeedInt block_size, const CeedInt comp_stride, CeedInt start, CeedInt stop, in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Memcheck_Core() argument
158 for (CeedSize e = start * block_size; e < stop * block_size; e += block_size) { in CeedElemRestrictionApplyCurlOrientedUnsignedNoTranspose_Memcheck_Core()
[all …]
H A Dceed-memcheck-vector.c118 static int CeedVectorSetValueStrided_Memcheck(CeedVector vec, CeedSize start, CeedSize stop, CeedSi… in CeedVectorSetValueStrided_Memcheck() argument
127 if (stop == -1) stop = length; in CeedVectorSetValueStrided_Memcheck()
128 for (CeedSize i = start; i < stop; i += step) impl->array_allocated[i] = val; in CeedVectorSetValueStrided_Memcheck()
/libCEED/interface/
H A Dceed-vector.c300 int CeedVectorCopyStrided(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step, CeedVector … in CeedVectorCopyStrided() argument
314 CeedCheck(stop >= -1 && stop <= length, CeedVectorReturnCeed(vec), CEED_ERROR_ACCESS, in CeedVectorCopyStrided()
315 "Invalid value for stop %" CeedSize_FMT ", must be in the range [-1, length]", stop); in CeedVectorCopyStrided()
316 …CeedCheck(start >= 0 && start <= length && (start <= stop || stop == -1), CeedVectorReturnCeed(vec… in CeedVectorCopyStrided()
321 CeedCall(vec->CopyStrided(vec, start, stop, step, vec_copy)); in CeedVectorCopyStrided()
329 if (stop == -1) stop = length; in CeedVectorCopyStrided()
330 for (CeedSize i = start; i < stop; i += step) array_copy[i] = array[i]; in CeedVectorCopyStrided()
412 int CeedVectorSetValueStrided(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step, CeedSca… in CeedVectorSetValueStrided() argument
419 CeedCheck(stop >= -1 && stop <= length, CeedVectorReturnCeed(vec), CEED_ERROR_ACCESS, in CeedVectorSetValueStrided()
420 "Invalid value for stop %" CeedSize_FMT ", must be in the range [-1, length]", stop); in CeedVectorSetValueStrided()
[all …]
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-vector.c226 static int CeedHostCopyStrided_Cuda(CeedScalar *h_array, CeedSize start, CeedSize stop, CeedSize st… in CeedHostCopyStrided_Cuda() argument
227 for (CeedSize i = start; i < stop; i += step) h_copy_array[i] = h_array[i]; in CeedHostCopyStrided_Cuda()
234 int CeedDeviceCopyStrided_Cuda(CeedScalar *d_array, CeedSize start, CeedSize stop, CeedSize step, C…
239 static int CeedVectorCopyStrided_Cuda(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step,… in CeedVectorCopyStrided_Cuda() argument
251 if (stop == -1) stop = length; in CeedVectorCopyStrided_Cuda()
264 …CeedCallCublas(ceed, cublasScopy_64(handle, (int64_t)(stop - start), impl->d_array + start, (int64… in CeedVectorCopyStrided_Cuda()
266 …CeedCallCublas(ceed, cublasDcopy_64(handle, (int64_t)(stop - start), impl->d_array + start, (int64… in CeedVectorCopyStrided_Cuda()
270 CeedCallBackend(CeedDeviceCopyStrided_Cuda(impl->d_array, start, stop, step, copy_array)); in CeedVectorCopyStrided_Cuda()
278 CeedCallBackend(CeedHostCopyStrided_Cuda(impl->h_array, start, stop, step, copy_array)); in CeedVectorCopyStrided_Cuda()
340 static int CeedHostSetValueStrided_Cuda(CeedScalar *h_array, CeedSize start, CeedSize stop, CeedSiz… in CeedHostSetValueStrided_Cuda() argument
[all …]
H A Dceed-cuda-ref-operator.c1934 CeedSize stop = (comp + 1) * (elem_size * num_elem); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda() local
1936 …if (s != 0) CeedCallBackend(CeedVectorSetValueStrided(active_e_vec_in, start, stop, elem_size, 0.0… in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
1940 stop = (comp + 1) * (elem_size * num_elem); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
1941 CeedCallBackend(CeedVectorSetValueStrided(active_e_vec_in, start, stop, elem_size, 1.0)); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
/libCEED/backends/hip-ref/kernels/
H A Dhip-ref-vector.hip.cpp60 __global__ static void setValueStridedK(CeedScalar *__restrict__ vec, CeedSize start, CeedSize stop in setValueStridedK() argument
63 if (index < stop - start) { in setValueStridedK()
71 extern "C" int CeedDeviceSetValueStrided_Hip(CeedScalar *d_array, CeedSize start, CeedInt stop, Cee… in CeedDeviceSetValueStrided_Hip() argument
73 const CeedSize set_size = stop - start; in CeedDeviceSetValueStrided_Hip()
77 …nelGGL(setValueStridedK, dim3(grid_size), dim3(block_size), 0, 0, d_array, start, stop, step, val); in CeedDeviceSetValueStrided_Hip()
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-vector.c279 static int CeedHostCopyStrided_Hip(CeedScalar *h_array, CeedSize start, CeedSize stop, CeedSize ste… in CeedHostCopyStrided_Hip() argument
280 for (CeedSize i = start; i < stop; i += step) h_copy_array[i] = h_array[i]; in CeedHostCopyStrided_Hip()
287 int CeedDeviceCopyStrided_Hip(CeedScalar *d_array, CeedSize start, CeedSize stop, CeedSize step, Ce…
292 static int CeedVectorCopyStrided_Hip(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step, … in CeedVectorCopyStrided_Hip() argument
304 if (stop == -1) stop = length; in CeedVectorCopyStrided_Hip()
318 …CeedCallHipblas(ceed, hipblasScopy_64(handle, (int64_t)(stop - start), impl->d_array + start, (int… in CeedVectorCopyStrided_Hip()
320 …CeedCallHipblas(ceed, hipblasDcopy_64(handle, (int64_t)(stop - start), impl->d_array + start, (int… in CeedVectorCopyStrided_Hip()
324 CeedCallBackend(CeedDeviceCopyStrided_Hip(impl->d_array, start, stop, step, copy_array)); in CeedVectorCopyStrided_Hip()
333 CeedCallBackend(CeedHostCopyStrided_Hip(impl->h_array, start, stop, step, copy_array)); in CeedVectorCopyStrided_Hip()
397 static int CeedHostSetValueStrided_Hip(CeedScalar *h_array, CeedSize start, CeedSize stop, CeedSize… in CeedHostSetValueStrided_Hip() argument
[all …]
H A Dceed-hip-ref-operator.c1931 CeedSize stop = (comp + 1) * (elem_size * num_elem); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip() local
1933 …if (s != 0) CeedCallBackend(CeedVectorSetValueStrided(active_e_vec_in, start, stop, elem_size, 0.0… in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
1937 stop = (comp + 1) * (elem_size * num_elem); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
1938 CeedCallBackend(CeedVectorSetValueStrided(active_e_vec_in, start, stop, elem_size, 1.0)); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
/libCEED/include/ceed/
H A Dceed.h202 CEED_EXTERN int CeedVectorCopyStrided(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step…
205 CEED_EXTERN int CeedVectorSetValueStrided(CeedVector vec, CeedSize start, CeedSize stop, CeedSize …
221 CEED_EXTERN int CeedVectorViewRange(CeedVector vec, CeedSize start, CeedSize stop, CeedInt step, c…
/libCEED/
H A DRELEASING.md7 (This will change if/when we stop synchronizing releases across all language bindings.)
H A DDoxyfile863 # If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl259 function CeedVectorViewRange(vec, start, stop, step, fp_fmt, stream) argument
260 …or, CeedSize, CeedSize, CeedInt, Ptr{Cchar}, Ptr{Libc.FILE}), vec, start, stop, step, fp_fmt, stre…
/libCEED/examples/nek/bps/
H A Dbps.usr1633 stop