| /libCEED/include/ceed/jit-source/hip/ |
| H A D | hip-ref-restriction-curl-oriented.h | 28 CeedScalar value = 0.0; in CurlOrientedNoTranspose() local 29 value += loc_node > 0 ? u[ind_dl + comp * RSTR_COMP_STRIDE] * curl_orient_dl : 0.0; in CurlOrientedNoTranspose() 30 value += u[ind_d + comp * RSTR_COMP_STRIDE] * curl_orient_d; in CurlOrientedNoTranspose() 31 …value += loc_node < (RSTR_ELEM_SIZE - 1) ? u[ind_du + comp * RSTR_COMP_STRIDE] * curl_orient_du : … in CurlOrientedNoTranspose() 32 v[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] = value; in CurlOrientedNoTranspose() 53 CeedScalar value = 0.0; in CurlOrientedUnsignedNoTranspose() local 54 value += loc_node > 0 ? u[ind_dl + comp * RSTR_COMP_STRIDE] * curl_orient_dl : 0.0; in CurlOrientedUnsignedNoTranspose() 55 value += u[ind_d + comp * RSTR_COMP_STRIDE] * curl_orient_d; in CurlOrientedUnsignedNoTranspose() 56 …value += loc_node < (RSTR_ELEM_SIZE - 1) ? u[ind_du + comp * RSTR_COMP_STRIDE] * curl_orient_du : … in CurlOrientedUnsignedNoTranspose() 57 v[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] = value; in CurlOrientedUnsignedNoTranspose() [all …]
|
| H A D | hip-ref-restriction-at-points.h | 33 CeedScalar value[RSTR_NUM_COMP]; in AtPointsTranspose() local 40 for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) value[comp] = 0.0; in AtPointsTranspose() 49 value[comp] += u[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE]; in AtPointsTranspose() 53 …for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) v[ind + comp * RSTR_COMP_STRIDE] += value[com… in AtPointsTranspose()
|
| H A D | hip-ref-restriction-offset.h | 45 CeedScalar value[RSTR_NUM_COMP]; in OffsetTranspose() local 52 for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) value[comp] = 0.0; in OffsetTranspose() 60 value[comp] += u[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE]; in OffsetTranspose() 64 …for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) v[ind + comp * RSTR_COMP_STRIDE] += value[com… in OffsetTranspose()
|
| H A D | hip-ref-restriction-oriented.h | 51 CeedScalar value[RSTR_NUM_COMP]; in OrientedTranspose() local 58 for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) value[comp] = 0.0; in OrientedTranspose() 67 …value[comp] += u[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] * (orie… in OrientedTranspose() 71 …for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) v[ind + comp * RSTR_COMP_STRIDE] += value[com… in OrientedTranspose()
|
| /libCEED/include/ceed/jit-source/cuda/ |
| H A D | cuda-ref-restriction-curl-oriented.h | 28 CeedScalar value = 0.0; in CurlOrientedNoTranspose() local 29 value += loc_node > 0 ? u[ind_dl + comp * RSTR_COMP_STRIDE] * curl_orient_dl : 0.0; in CurlOrientedNoTranspose() 30 value += u[ind_d + comp * RSTR_COMP_STRIDE] * curl_orient_d; in CurlOrientedNoTranspose() 31 …value += loc_node < (RSTR_ELEM_SIZE - 1) ? u[ind_du + comp * RSTR_COMP_STRIDE] * curl_orient_du : … in CurlOrientedNoTranspose() 32 v[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] = value; in CurlOrientedNoTranspose() 53 CeedScalar value = 0.0; in CurlOrientedUnsignedNoTranspose() local 54 value += loc_node > 0 ? u[ind_dl + comp * RSTR_COMP_STRIDE] * curl_orient_dl : 0.0; in CurlOrientedUnsignedNoTranspose() 55 value += u[ind_d + comp * RSTR_COMP_STRIDE] * curl_orient_d; in CurlOrientedUnsignedNoTranspose() 56 …value += loc_node < (RSTR_ELEM_SIZE - 1) ? u[ind_du + comp * RSTR_COMP_STRIDE] * curl_orient_du : … in CurlOrientedUnsignedNoTranspose() 57 v[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] = value; in CurlOrientedUnsignedNoTranspose() [all …]
|
| H A D | cuda-ref-restriction-at-points.h | 33 CeedScalar value[RSTR_NUM_COMP]; in AtPointsTranspose() local 40 for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) value[comp] = 0.0; in AtPointsTranspose() 49 value[comp] += u[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE]; in AtPointsTranspose() 53 …for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) v[ind + comp * RSTR_COMP_STRIDE] += value[com… in AtPointsTranspose()
|
| H A D | cuda-ref-restriction-offset.h | 45 CeedScalar value[RSTR_NUM_COMP]; in OffsetTranspose() local 52 for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) value[comp] = 0.0; in OffsetTranspose() 60 value[comp] += u[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE]; in OffsetTranspose() 64 …for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) v[ind + comp * RSTR_COMP_STRIDE] += value[com… in OffsetTranspose()
|
| H A D | cuda-ref-restriction-oriented.h | 51 CeedScalar value[RSTR_NUM_COMP]; in OrientedTranspose() local 58 for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) value[comp] = 0.0; in OrientedTranspose() 67 …value[comp] += u[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] * (orie… in OrientedTranspose() 71 …for (CeedInt comp = 0; comp < RSTR_NUM_COMP; comp++) v[ind + comp * RSTR_COMP_STRIDE] += value[com… in OrientedTranspose()
|
| H A D | cuda-gen-templates.h | 60 …tandard1d_Single(SharedData_Cuda &data, const CeedInt n, const CeedScalar value, CeedScalar *__res… in SetEVecStandard1d_Single() argument 65 r_v[target_comp] = value; in SetEVecStandard1d_Single() 181 …tandard2d_Single(SharedData_Cuda &data, const CeedInt n, const CeedScalar value, CeedScalar *__res… in SetEVecStandard2d_Single() argument 187 r_v[target_comp] = value; in SetEVecStandard2d_Single() 310 …tandard3d_Single(SharedData_Cuda &data, const CeedInt n, const CeedScalar value, CeedScalar *__res… in SetEVecStandard3d_Single() argument 317 r_v[target_node_z + target_comp * P_1D] = value; in SetEVecStandard3d_Single()
|
| /libCEED/tests/ |
| H A D | t127-vector.c | 26 CeedScalar value = (i - start) % step == 0 ? 42.0 : 1.0; in main() local 28 if (read_array[i] != value) { in main() 30 …setting value in x at index %" CeedInt_FMT ", computed: %f actual: %f\n", i, read_array[i], value); in main() 45 CeedScalar value = (i - start) % step == 0 ? 42.0 : 0.0; in main() local 47 if (read_array[i] != value) { in main() 49 …copying value to y at index %" CeedInt_FMT ", computed: %f actual: %f\n", i, read_array[i], value); in main()
|
| H A D | t101-vector.c | 11 static int CheckValues(Ceed ceed, CeedVector x, CeedScalar value) { in CheckValues() argument 18 …if (read_array[i] != value) printf("Error reading array[%" CeedInt_FMT "] = %f", i, (CeedScalar)re… in CheckValues()
|
| H A D | junit_common.py | 79 return self.value 82 return self.value 344 value = match.group(2) if match.group(2) else match.group(3) 348 value = [constraint.strip() for constraint in value.split(',')] 351 known[key] = test_fields[index].type(value) # type: ignore 354 known[key] = get_origin(test_fields[index].type)(value) # type: ignore 356 other[key] = value
|
| /libCEED/examples/fluids/ |
| H A D | pytorch_pkgconfig.py | 16 def add_variable(file, variable, value): argument 20 def add_keyword(file, key, value): argument 63 for variable, value in variables.items(): 64 add_variable(file, variable, value) 68 for keyword, value in keywords.items(): 69 add_keyword(file, keyword, value)
|
| H A D | Makefile | 84 $(info [ value]: $(value $*)) 85 $(info [expanded value]: $($*))
|
| H A D | README.md | 36 - Default value 311 - Default value 431 - Default value 480 - Default value 519 - Default value 682 - Default value 741 - Default value 795 - Default value 849 - Default value 893 - Default value [all …]
|
| /libCEED/ |
| H A D | Doxyfile | 11 # TAG = value [value, ...] 13 # TAG += value [value, ...] 35 # The default value is: UTF-8. 43 # The default value is: My Project. 80 # The default value is: NO. 87 # directories at level 8 which is the default and also the maximum value. The 90 # Minimum value: 0, maximum value: 8, default value: 8. 99 # The default value is: NO. 114 # The default value is: English. 121 # The default value is: YES. [all …]
|
| /libCEED/examples/fluids/meshes/ |
| H A D | Makefile | 27 $(info [ value]: $(value $*)) 28 $(info [expanded value]: $($*))
|
| /libCEED/examples/fluids/include/ |
| H A D | mat-ceed.h | 24 PETSC_CEED_INTERN PetscErrorCode MatCeedSetContextDouble(Mat mat, const char *name, double value); 25 PETSC_CEED_INTERN PetscErrorCode MatCeedGetContextDouble(Mat mat, const char *name, double *value); 26 PETSC_CEED_EXTERN PetscErrorCode MatCeedSetContextReal(Mat mat, const char *name, PetscReal value); 27 PETSC_CEED_EXTERN PetscErrorCode MatCeedGetContextReal(Mat mat, const char *name, PetscReal *value);
|
| /libCEED/examples/solids/include/ |
| H A D | setup-libceed.h | 24 …nFromPlex(Ceed ceed, DM dm, CeedInt height, DMLabel domain_label, CeedInt value, CeedElemRestricti… 27 …orDomain(Ceed ceed, DM dm, CeedInt height, DMLabel domain_label, PetscInt value, CeedInt Q, CeedIn…
|
| /libCEED/benchmarks/ |
| H A D | README.md | 30 bound of the problem sizes, per compute node; the default value is 3*2^20. 32 tests will be run (the lowest degree is 1); the default value is 8.
|
| /libCEED/examples/fluids/src/ |
| H A D | mat-ceed.c | 755 PetscErrorCode MatCeedSetContextDouble(Mat mat, const char *name, double value) { in MatCeedSetContextDouble() argument 766 double set_value = 2 * value + 1.0; in MatCeedSetContextDouble() 769 if (set_value != value) { in MatCeedSetContextDouble() 770 PetscCallCeed(ctx->ceed, CeedOperatorSetContextDouble(ctx->op_mult, label, &value)); in MatCeedSetContextDouble() 778 double set_value = 2 * value + 1.0; in MatCeedSetContextDouble() 781 if (set_value != value) { in MatCeedSetContextDouble() 782 … PetscCallCeed(ctx->ceed, CeedOperatorSetContextDouble(ctx->op_mult_transpose, label, &value)); in MatCeedSetContextDouble() 806 PetscErrorCode MatCeedGetContextDouble(Mat mat, const char *name, double *value) { in MatCeedGetContextDouble() argument 825 *value = values_ceed[0]; in MatCeedGetContextDouble() 843 PetscErrorCode MatCeedSetContextReal(Mat mat, const char *name, PetscReal value) { in MatCeedSetContextReal() argument [all …]
|
| /libCEED/backends/sycl/ |
| H A D | ceed-sycl-compile.sycl.cpp | 35 for (const auto &[name, value] : constants) { 36 oss << "#define " << name << " " << value << "\n";
|
| /libCEED/python/tests/ |
| H A D | test-3-basis.py | 299 value = dfeval(xq[0 * Q + i], xq[1 * Q + i]) 300 assert math.fabs(out_array[0 * Q + i] - value) < 10. * TOL 302 value = dfeval(xq[1 * Q + i], xq[0 * Q + i]) 303 assert math.fabs(out_array[1 * Q + i] - value) < 10. * TOL
|
| H A D | test-1-vector.py | 23 def check_values(ceed, x, value): argument 26 assert b[i] == value 55 value = 1
|
| /libCEED/interface/ |
| H A D | ceed-vector.c | 377 int CeedVectorSetValue(CeedVector vec, CeedScalar value) { in CeedVectorSetValue() argument 383 CeedCall(vec->SetValue(vec, value)); in CeedVectorSetValue() 391 for (CeedSize i = 0; i < length; i++) array[i] = value; in CeedVectorSetValue() 412 …orSetValueStrided(CeedVector vec, CeedSize start, CeedSize stop, CeedSize step, CeedScalar value) { 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()
|