| /libCEED/tests/ |
| H A D | t127-vector.c | 9 CeedSize start = 2, step = 3; in main() local 20 CeedVectorSetValueStrided(x, start, -1, step, 42.0); in main() 26 CeedScalar value = (i - start) % step == 0 ? 42.0 : 1.0; in main() 39 CeedVectorCopyStrided(x, start, -1, step, y); in main() 45 CeedScalar value = (i - start) % step == 0 ? 42.0 : 0.0; in main()
|
| /libCEED/backends/cuda-ref/kernels/ |
| H A D | cuda-ref-vector.cu | 14 …edK(CeedScalar *__restrict__ vec, CeedSize start, CeedSize stop, CeedSize step, CeedScalar *__rest… in copyStridedK() argument 18 if (index % step == 0) vec_copy[start + index] = vec[start + index]; in copyStridedK() 25 …Strided_Cuda(CeedScalar *d_array, CeedSize start, CeedSize stop, CeedSize step, CeedScalar *d_copy… in CeedDeviceCopyStrided_Cuda() argument 31 copyStridedK<<<grid_size, block_size>>>(d_array, start, stop, step, d_copy_array); in CeedDeviceCopyStrided_Cuda() 60 …idedK(CeedScalar *__restrict__ vec, CeedSize start, CeedSize stop, CeedSize step, CeedScalar val) { in setValueStridedK() argument 64 if (index % step == 0) vec[start + index] = val; in setValueStridedK() 71 …ueStrided_Cuda(CeedScalar *d_array, CeedSize start, CeedSize stop, CeedSize step, CeedScalar val) { in CeedDeviceSetValueStrided_Cuda() argument 77 setValueStridedK<<<grid_size, block_size>>>(d_array, start, stop, step, val); in CeedDeviceSetValueStrided_Cuda()
|
| /libCEED/backends/hip-ref/kernels/ |
| H A D | hip-ref-vector.hip.cpp | 14 __global__ static void copyStridedK(CeedScalar *__restrict__ vec, CeedSize start, CeedSize step, Ce… in copyStridedK() argument 18 if ((index - start) % step == 0) vec_copy[index] = vec[index]; in copyStridedK() 25 extern "C" int CeedDeviceCopyStrided_Hip(CeedScalar *d_array, CeedSize start, CeedSize step, CeedSi… in CeedDeviceCopyStrided_Hip() argument 31 …hipLaunchKernelGGL(copyStridedK, dim3(grid_size), dim3(block_size), 0, 0, d_array, start, step, le… in CeedDeviceCopyStrided_Hip() 60 …idedK(CeedScalar *__restrict__ vec, CeedSize start, CeedSize stop, CeedSize step, CeedScalar val) { in setValueStridedK() argument 64 if (index % step == 0) vec[start + index] = val; in setValueStridedK() 71 …ueStrided_Hip(CeedScalar *d_array, CeedSize start, CeedInt stop, CeedSize step, CeedSize length, C… in CeedDeviceSetValueStrided_Hip() argument 77 …nelGGL(setValueStridedK, dim3(grid_size), dim3(block_size), 0, 0, d_array, start, stop, step, val); in CeedDeviceSetValueStrided_Hip()
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref-vector.c | 226 …Strided_Cuda(CeedScalar *h_array, CeedSize start, CeedSize stop, CeedSize step, CeedScalar *h_copy… 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 264 …(int64_t)(stop - start), impl->d_array + start, (int64_t)step, copy_array + start, (int64_t)step)); in CeedVectorCopyStrided_Cuda() 266 …(int64_t)(stop - start), impl->d_array + start, (int64_t)step, copy_array + start, (int64_t)step)); 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 …ueStrided_Cuda(CeedScalar *h_array, CeedSize start, CeedSize stop, CeedSize step, CeedScalar val) { in CeedHostSetValueStrided_Cuda() argument 341 for (CeedSize i = start; i < stop; i += step) h_array[i] = val; in CeedHostSetValueStrided_Cuda() [all …]
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref-vector.c | 279 …yStrided_Hip(CeedScalar *h_array, CeedSize start, CeedSize stop, CeedSize step, CeedScalar *h_copy… 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 318 …(int64_t)(stop - start), impl->d_array + start, (int64_t)step, copy_array + start, (int64_t)step)); in CeedVectorCopyStrided_Hip() 320 …(int64_t)(stop - start), impl->d_array + start, (int64_t)step, copy_array + start, (int64_t)step)); 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 …lueStrided_Hip(CeedScalar *h_array, CeedSize start, CeedSize stop, CeedSize step, CeedScalar val) { in CeedHostSetValueStrided_Hip() argument 398 for (CeedSize i = start; i < stop; i += step) h_array[i] = val; in CeedHostSetValueStrided_Hip() [all …]
|
| /libCEED/interface/ |
| H A D | ceed-vector.c | 300 int CeedVectorCopyStrided(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step, CeedVector … in CeedVectorCopyStrided() argument 321 CeedCall(vec->CopyStrided(vec, start, stop, step, vec_copy)); 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 423 CeedCall(vec->SetValueStrided(vec, start, stop, step, value)); in CeedVectorSetValueStrided() 431 for (CeedSize i = start; i < stop; i += step) array[i] = value; in CeedVectorSetValueStrided() 1080 int CeedVectorViewRange(CeedVector vec, CeedSize start, CeedSize stop, CeedInt step, const char *fp… in CeedVectorViewRange() argument 1086 …CeedCheck(step != 0, CeedVectorReturnCeed(vec), CEED_ERROR_MINOR, "View range 'step' must be nonze… in CeedVectorViewRange() 1098 if (start != 0 || stop != length || step != 1) { in CeedVectorViewRange() 1099 …%s stop: %" CeedSize_FMT "\n%s step: %" CeedInt_FMT "\n", tabs, start, tabs, stop, tabs, step); in CeedVectorViewRange() [all …]
|
| /libCEED/examples/petsc/src/ |
| H A D | petscutils.c | 59 static double step(const double a, const double b, double x) { in step() function 97 c[i + 1] = step(left(eps, y), right(eps, y), lambda); in Kershaw() 98 c[i + 2] = step(left(eps, z), right(eps, z), lambda); in Kershaw() 101 c[i + 1] = step(right(eps, y), left(eps, y), lambda / 2); in Kershaw() 102 c[i + 2] = step(right(eps, z), left(eps, z), lambda / 2); in Kershaw() 105 c[i + 1] = step(right(eps, y), left(eps, y), (1 + lambda) / 2); in Kershaw() 106 c[i + 2] = step(right(eps, z), left(eps, z), (1 + lambda) / 2); in Kershaw()
|
| /libCEED/examples/nek/boxes/ |
| H A D | b1e.rea | 98 0.00000 p094 start projecting velocity after p94 step 99 0.00000 p095 start projecting pressure after p95 step 106 0.00000 p102 Dump out divergence at each time step
|
| /libCEED/doc/sphinx/source/ |
| H A D | precision.md | 30 **This is work in progress!** The ability to use single precision is an initial step in ongoing de…
|
| H A D | libCEEDapi.md | 153 > - no assembly step
|
| /libCEED/backends/memcheck/ |
| H A D | ceed-memcheck-vector.c | 118 …lueStrided_Memcheck(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step, CeedScalar val) { in CeedVectorSetValueStrided_Memcheck() argument 128 for (CeedSize i = start; i < stop; i += step) impl->array_allocated[i] = val; in CeedVectorSetValueStrided_Memcheck()
|
| /libCEED/include/ceed/ |
| H A D | ceed.h | 202 CEED_EXTERN int CeedVectorCopyStrided(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step… 205 …torSetValueStrided(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step, CeedScalar value); 221 CEED_EXTERN int CeedVectorViewRange(CeedVector vec, CeedSize start, CeedSize stop, CeedInt step, c…
|
| /libCEED/examples/solids/ |
| H A D | README.md | 168 …gate gradients to solve the symmetric positive definite linear systems arising at each Newton step.
|
| H A D | index.md | 506 …f \bm F = \nabla_X (\diff \bm u)$ (which we are solving for in the Newton step), we compute $\diff…
|
| /libCEED/examples/fluids/ |
| H A D | README.md | 99 - Whether to add step numbers to output binary files 103 - Continue from previous solution (input is step number of previous solution)
|
| H A D | index.md | 160 …The scalar "shift" $\alpha$ scales inversely with the time step $\Delta t$, so small time steps re…
|
| /libCEED/julia/LibCEED.jl/src/generated/ |
| H A D | libceed_bindings.jl | 259 function CeedVectorViewRange(vec, start, stop, step, fp_fmt, stream) argument 260 …, CeedSize, CeedSize, CeedInt, Ptr{Cchar}, Ptr{Libc.FILE}), vec, start, stop, step, fp_fmt, stream)
|
| /libCEED/ |
| H A D | Doxyfile | 2650 # a preprocessing step. Doxygen will generate a warning when it encounters a
|