| /libCEED/backends/cuda-ref/kernels/ |
| H A D | cuda-ref-vector.cu | 15 const CeedSize index = threadIdx.x + (CeedSize)blockDim.x * blockIdx.x; in copyStridedK() local 17 if (index < stop - start) { in copyStridedK() 18 if (index % step == 0) vec_copy[start + index] = vec[start + index]; in copyStridedK() 39 const CeedSize index = threadIdx.x + (CeedSize)blockDim.x * blockIdx.x; in setValueK() local 41 if (index < size) vec[index] = val; in setValueK() 61 const CeedSize index = threadIdx.x + (CeedSize)blockDim.x * blockIdx.x; in setValueStridedK() local 63 if (index < stop - start) { in setValueStridedK() 64 if (index % step == 0) vec[start + index] = val; in setValueStridedK() 85 const CeedSize index = threadIdx.x + (CeedSize)blockDim.x * blockIdx.x; in rcpValueK() local 87 if (index < size) { in rcpValueK() [all …]
|
| /libCEED/backends/hip-ref/kernels/ |
| H A D | hip-ref-vector.hip.cpp | 15 const CeedSize index = threadIdx.x + (CeedSize)blockDim.x * blockIdx.x; in copyStridedK() local 17 if (index < size) { in copyStridedK() 18 if ((index - start) % step == 0) vec_copy[index] = vec[index]; in copyStridedK() 39 const CeedSize index = threadIdx.x + (CeedSize)blockDim.x * blockIdx.x; in setValueK() local 41 if (index < size) vec[index] = val; in setValueK() 61 const CeedSize index = threadIdx.x + (CeedSize)blockDim.x * blockIdx.x; in setValueStridedK() local 63 if (index < stop - start) { in setValueStridedK() 64 if (index % step == 0) vec[start + index] = val; in setValueStridedK() 85 const CeedSize index = threadIdx.x + (CeedSize)blockDim.x * blockIdx.x; in rcpValueK() local 87 if (index < size) { in rcpValueK() [all …]
|
| /libCEED/backends/sycl-ref/kernels/ |
| H A D | sycl-ref-vector.cpp | 16 int index = threadIdx.x + blockDim.x * blockIdx.x; in setValueK() local 18 if (index >= size) return; in setValueK() 19 vec[index] = val; in setValueK() 39 int index = threadIdx.x + blockDim.x * blockIdx.x; in rcpValueK() local 41 if (index >= size) return; in rcpValueK() 42 if (fabs(vec[index]) > 1E-16) vec[index] = 1. / vec[index]; in rcpValueK() 62 int index = threadIdx.x + blockDim.x * blockIdx.x; in scaleValueK() local 64 if (index >= size) return; in scaleValueK() 65 x[index] *= alpha; in scaleValueK() 85 int index = threadIdx.x + blockDim.x * blockIdx.x; in axpyValueK() local [all …]
|
| /libCEED/interface/ |
| H A D | ceed-tensor.c | 74 Contracts on the middle index 80 @param[in] A First index of `u`, `v` 81 @param[in] B Middle index of `u`, one index of `t` 82 @param[in] C Last index of `u`, `v` 83 @param[in] J Middle index of `v`, one index of `t` 103 Contracts on the middle index 109 @param[in] A First index of `u`, second index of `v` 110 @param[in] B Middle index of `u`, one of last two indices of `t` 111 @param[in] C Last index of `u`, `v` 112 @param[in] D First index of `v`, first index of `t` [all …]
|
| /libCEED/examples/ |
| H A D | index.md | 13 ceed/index.md 15 petsc/index.md 16 fluids/index.md 17 solids/index.md
|
| H A D | README.md | 8 … see the dedicated [documentation section](https://libceed.org/en/latest/examples/ceed/index.html). 63 …orresponding [fluids documentation page](https://libceed.org/en/latest/examples/fluids/index.html). 68 …orresponding [solids documentation page](https://libceed.org/en/latest/examples/solids/index.html). 73 …responding [area documentation page](https://libceed.org/en/latest/examples/petsc/index.html#area). 78 …d-sphere documentation page](https://libceed.org/en/latest/examples/petsc/index.html#bakeoff-probl…
|
| /libCEED/tests/ |
| H A D | t219-elemrestriction.c | 60 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main() local 62 if (i == 0 && 10 + k + 1 != -y_array[index]) { in main() 64 … y[%" CeedInt_FMT "][%" CeedInt_FMT "][%" CeedInt_FMT "] = %f\n", i, j, k, (double)y_array[index]); in main() 66 } else if (i == 1 && 10 + k != -y_array[index]) { in main() 68 … y[%" CeedInt_FMT "][%" CeedInt_FMT "][%" CeedInt_FMT "] = %f\n", i, j, k, (double)y_array[index]); in main() 72 if (y_array[index] != x_array[ind[k * elem_size + i]]) { in main() 74 … y[%" CeedInt_FMT "][%" CeedInt_FMT "][%" CeedInt_FMT "] = %f\n", i, j, k, (double)y_array[index]); in main()
|
| H A D | t122-vector.c | 38 …printf("Error in w = x .* y at index %" CeedInt_FMT ", computed: %f actual: %f\n", i, read_array[i… in main() 50 …printf("Error in w = w .* y at index %" CeedInt_FMT ", computed: %f actual: %f\n", i, read_array[i… in main() 62 …printf("Error in w = x .* w at index %" CeedInt_FMT ", computed: %f actual: %f\n", i, read_array[i… in main() 80 …printf("Error in y = y .* y at index %" CeedInt_FMT ", computed: %f actual: %f\n", i, read_array[i… in main()
|
| H A D | t202-elemrestriction.c | 45 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main() local 46 if (y_array[index] != x_array[ind[k * elem_size + i]]) { in main() 48 … y[%" CeedInt_FMT "][%" CeedInt_FMT "][%" CeedInt_FMT "] = %f\n", i, j, k, (double)y_array[index]); in main()
|
| H A D | t208-elemrestriction.c | 44 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main() local 45 if (y_array[index] != x_array[ind[k * elem_size + i]]) { in main() 47 … y[%" CeedInt_FMT "][%" CeedInt_FMT "][%" CeedInt_FMT "] = %f\n", i, j, k, (double)y_array[index]); in main()
|
| H A D | junit_common.py | 346 index = field_names.index(key) 351 known[key] = test_fields[index].type(value) # type: ignore 354 known[key] = get_origin(test_fields[index].type)(value) # type: ignore 524 backend: str, test: str, index: int, verbose: bool) -> str: 529 …output_str += f' ok {index} - {spec.name}, {backend} # SKIP {test_case.skipped[0]["message"]}\n' 531 … output_str += f' not ok {index} - {spec.name}, {backend} ({test_case.elapsed_sec} s)\n' 533 output_str += f' ok {index} - {spec.name}, {backend} ({test_case.elapsed_sec} s)\n' 585 def run_test(index: int, test: str, spec: TestSpec, backend: str, 590 index (int): Index of backend for current spec 606 run_args[run_args.index('{ceed_resource}')] = backend [all …]
|
| H A D | t203-elemrestriction.c | 51 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main() local 52 if (y_array[index] != x_array[ind[k * elem_size + i] + j * (num_elem + 1)]) { in main() 54 … y[%" CeedInt_FMT "][%" CeedInt_FMT "][%" CeedInt_FMT "] = %f\n", i, j, k, (double)y_array[index]); in main()
|
| H A D | t213-elemrestriction.c | 55 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main() local 56 if (y_array[index] != x_array[ind[k * elem_size + i] + j * (num_elem + 1)]) in main() 58 … y[%" CeedInt_FMT "][%" CeedInt_FMT "][%" CeedInt_FMT "] = %f\n", i, j, k, (double)y_array[index]); in main()
|
| H A D | t127-vector.c | 30 …printf("Error in setting value in x at index %" CeedInt_FMT ", computed: %f actual: %f\n", i, read… in main() 49 …printf("Error in copying value to y at index %" CeedInt_FMT ", computed: %f actual: %f\n", i, read… in main()
|
| H A D | t566-operator.c | 144 …const CeedInt index = (node_out + comp_out * num_dofs) * num_comp + node_in + co… in main() local 145 const CeedScalar assembled_value = assembled_values[index]; in main() 146 const CeedScalar assembled_true_value = assembled_true[index]; in main()
|
| /libCEED/examples/fluids/qfunctions/ |
| H A D | utils_eigensolver_jacobi.h | 29 ///@brief Find the off-diagonal index in row i whose absolute value is largest 32 /// @param[in] i row index 33 /// @returns Index of absolute largest off-diagonal element in row i 46 /// @param[inout] i_max row index 47 /// @param[inout] j_max column index 69 /// @param[in] i row index 70 /// @param[in] j column index 127 /// elements containing at least one index which is either i or j 134 /// (ie. matrix elements whose second index is > the first index). 157 /// @param[in] i row index [all …]
|
| /libCEED/doc/sphinx/source/ |
| H A D | index.md | 10 examples/index 11 api/index
|
| /libCEED/backends/sycl-gen/ |
| H A D | ceed-sycl-gen-operator.sycl.cpp | 103 CeedInt index = -1; in CeedOperatorApplyAdd_Sycl_gen() local 106 index = j; in CeedOperatorApplyAdd_Sycl_gen() 110 if (index == -1) { in CeedOperatorApplyAdd_Sycl_gen() 113 impl->fields->outputs[i] = impl->fields->outputs[index]; in CeedOperatorApplyAdd_Sycl_gen() 184 CeedInt index = -1; in CeedOperatorApplyAdd_Sycl_gen() local 188 index = j; in CeedOperatorApplyAdd_Sycl_gen() 192 if (index == -1) { in CeedOperatorApplyAdd_Sycl_gen()
|
| /libCEED/include/ceed/jit-source/cuda/ |
| H A D | cuda-ref-basis-tensor-at-points.h | 83 // Contract along middle index in InterpAtPoints() 110 // Contract along middle index in InterpAtPoints() 177 // Contract along middle index in InterpTransposeAtPoints() 202 // Contract along middle index in InterpTransposeAtPoints() 263 // Contract along middle index in GradAtPoints() 294 // Contract along middle index in GradAtPoints() 367 // Contract along middle index in GradTransposeAtPoints() 393 // Contract along middle index in GradTransposeAtPoints()
|
| /libCEED/include/ceed/jit-source/hip/ |
| H A D | hip-ref-basis-tensor-at-points.h | 83 // Contract along middle index in InterpAtPoints() 110 // Contract along middle index in InterpAtPoints() 177 // Contract along middle index in InterpTransposeAtPoints() 202 // Contract along middle index in InterpTransposeAtPoints() 263 // Contract along middle index in GradAtPoints() 294 // Contract along middle index in GradAtPoints() 367 // Contract along middle index in GradTransposeAtPoints() 393 // Contract along middle index in GradTransposeAtPoints()
|
| /libCEED/ |
| H A D | Doxyfile | 764 # will remove the Files entry from the Quick Index and from the Folder Tree View 771 # page. This will remove the Namespaces entry from the Quick Index and from the 1127 # (index.html). This can be useful if you have a project on for instance GitHub 1228 # Configuration options related to the alphabetical class index 1231 # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all 1239 # be put under the same header in the alphabetical index. The IGNORE_PREFIX tag 1241 # while generating the index headers. 1383 # documentation will contain a main index with vertical navigation menus that 1384 # are dynamically created via JavaScript. If disabled, the navigation index will 1414 # If the GENERATE_DOCSET tag is set to YES, additional index files will be [all …]
|
| /libCEED/benchmarks/ |
| H A D | postprocess_plot.py | 76 for index, row in pl_set.iterrows(): 85 if len(pl_runs.index) == 0: 104 for index, run in 128 for index, run in
|
| /libCEED/doc/papers/joss/ |
| H A D | paper.md | 53 index: 1 55 index: 2 57 index: 3 59 index: 4 61 index: 5
|
| /libCEED/backends/hip-gen/ |
| H A D | ceed-hip-gen-operator-build.cpp | 26 CeedInt index; member 234 bool use_previous_field = field_reuse.index != -1; in CeedOperatorBuildKernelFieldData_Hip_gen() 295 …euse_var = "s_B" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Hip_gen() 334 …euse_var = "s_B" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Hip_gen() 354 …euse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Hip_gen() 370 …euse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Hip_gen() 381 …euse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Hip_gen() 1383 input_matrix_reuse[i].index = -1; in CeedOperatorBuildKernel_Hip_gen() 1394 for (CeedInt j = 0; (input_matrix_reuse[i].index == -1) && (j < i); j++) { in CeedOperatorBuildKernel_Hip_gen() 1403 input_matrix_reuse[i].index = j; in CeedOperatorBuildKernel_Hip_gen() [all …]
|
| /libCEED/backends/cuda-gen/ |
| H A D | ceed-cuda-gen-operator-build.cpp | 27 CeedInt index; member 207 bool use_previous_field = field_reuse.index != -1; in CeedOperatorBuildKernelFieldData_Cuda_gen() 268 …euse_var = "s_B" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Cuda_gen() 307 …euse_var = "s_B" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Cuda_gen() 327 …euse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Cuda_gen() 343 …euse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Cuda_gen() 354 …euse_var = "s_G" + ((field_reuse.is_input ? "_in_" : "_out_") + std::to_string(field_reuse.index)); in CeedOperatorBuildKernelFieldData_Cuda_gen() 1370 input_matrix_reuse[i].index = -1; in CeedOperatorBuildKernel_Cuda_gen() 1381 for (CeedInt j = 0; (input_matrix_reuse[i].index == -1) && (j < i); j++) { in CeedOperatorBuildKernel_Cuda_gen() 1390 input_matrix_reuse[i].index = j; in CeedOperatorBuildKernel_Cuda_gen() [all …]
|