Home
last modified time | relevance | path

Searched full:target (Results 1 – 25 of 48) sorted by relevance

12

/libCEED/examples/petsc/qfunctions/bps/
H A Dcommon.h15 const CeedScalar *u = in[0], *target = in[1], *q_data = in[2]; in Error() local
18 error[i] = (u[i] - target[i]) * (u[i] - target[i]) * q_data[i]; in Error()
25 const CeedScalar *u = in[0], *target = in[1], *q_data = in[2]; in Error3() local
28 …error[i + 0 * Q] = (u[i + 0 * Q] - target[i + 0 * Q]) * (u[i + 0 * Q] - target[i + 0 * Q]) * q_dat… in Error3()
29 …error[i + 1 * Q] = (u[i + 1 * Q] - target[i + 1 * Q]) * (u[i + 1 * Q] - target[i + 1 * Q]) * q_dat… in Error3()
30 …error[i + 2 * Q] = (u[i + 2 * Q] - target[i + 2 * Q]) * (u[i + 2 * Q] - target[i + 2 * Q]) * q_dat… in Error3()
/libCEED/backends/sycl/
H A Donline_compiler.hpp32 // The API must allow user to define the target GPU option even if it is
77 /// Constructs online compiler which can target any device and produces
80 /// device capabilities are supported by the target device(s).
97 /// Constructs online compiler for the target specified by given SYCL device.
110 /// other parameters are set in the constructor by the compilation target
118 /// Sets the compiled code format of the compilation target and returns *this.
124 /// Sets the compiled code format version of the compilation target and
131 /// Sets the device type of the compilation target and returns *this.
137 /// Sets the device architecture of the compilation target and returns *this.
143 /// Makes the compilation target 32-bit and returns *this.
[all …]
/libCEED/examples/petsc/src/
H A Dlibceedsetup.c44 CeedVector rhs_ceed, CeedVector *target) { in SetupLibceedByDegree() argument
152 CeedVectorCreate(ceed, num_elem * num_qpts * num_comp_u, target); in SetupLibceedByDegree()
164 CeedOperatorSetField(op_setup_rhs, "true solution", elem_restr_u_i, CEED_BASIS_NONE, *target); in SetupLibceedByDegree()
175 // Setup RHS and target in SetupLibceedByDegree()
250 CeedVector x_coord, q_data, target, rhs; in SetupErrorOperator() local
302 // Set up target vector in SetupErrorOperator()
304 CeedVectorCreate(ceed, num_elem * num_qpts * num_comp_u, &target); in SetupErrorOperator()
316 CeedOperatorSetField(op_setup_rhs, "true solution", elem_restr_u_i, CEED_BASIS_NONE, target); in SetupErrorOperator()
327 // Setup RHS and target in SetupErrorOperator()
341 CeedOperatorSetField(*op_error, "true_soln", elem_restr_u_i, CEED_BASIS_NONE, target); in SetupErrorOperator()
[all …]
/libCEED/rust/libceed-sys/
H A DREADME.md44 …pkg-config, then you'll need to set `LD_LIBRARY_PATH` to the appropriate target directory for doct…
48 export LD_LIBRARY_PATH=$CEED_DIR/target/debug/build/libceed-sys-d1ea22c6e1ad3f23/out/lib
51 …e is printed during `cargo build --verbose` or you can find it with `find target -name libceed.so`.
H A D.gitignore1 target
/libCEED/examples/rust/ex1-volume-vector/
H A D.gitignore1 target
/libCEED/examples/rust/ex3-volume-vector/
H A D.gitignore1 target
/libCEED/examples/rust/ex2-surface-vector/
H A D.gitignore1 target
/libCEED/examples/rust/ex1-volume/
H A D.gitignore1 target
/libCEED/examples/rust/mesh/
H A D.gitignore1 target
/libCEED/examples/rust/ex3-volume/
H A D.gitignore1 target
/libCEED/rust/libceed/
H A D.gitignore1 target
/libCEED/examples/rust/ex2-surface/
H A D.gitignore1 target
/libCEED/examples/rust-qfunctions/ex1-volume-rs/
H A D.gitignore1 target
/libCEED/examples/rust-qfunctions/ex1-volume-rs/.cargo/
H A Dconfig.toml1 [target.nvptx64-nvidia-cuda]
/libCEED/examples/petsc/
H A Dbpssphere.c65 CeedVector rhs_ceed, target; in main() local
176 true, rhs_ceed, &target)); in main()
194 CeedOperatorSetField(op_error, "true_soln", ceed_data->elem_restr_u_i, CEED_BASIS_NONE, target); in main()
323 CeedVectorDestroy(&target); in main()
H A Dbpsraw.c298 …ratorApplyContext op_apply_ctx, CeedOperator op_error, Vec X, CeedVector target, PetscReal *max_er… in ComputeErrorMax() argument
305 CeedVectorGetLength(target, &length); in ComputeErrorMax()
359 CeedVector x_coord, q_data, rhs_ceed, target; in main() local
384 …PetscCall(PetscOptionsInt("-local", "Target number of locally owned nodes per process", NULL, loca… in main()
612 CeedVectorCreate(ceed, num_elem * num_qpts * num_comp_u, &target); in main()
626 CeedOperatorSetField(op_setup_rhs, "true_soln", elem_restr_u_i, CEED_BASIS_NONE, target); in main()
638 CeedOperatorSetField(op_error, "true_soln", elem_restr_u_i, CEED_BASIS_NONE, target); in main()
675 // Setup q_data, rhs, and target in main()
757 PetscCall(ComputeErrorMax(op_apply_ctx, op_error, X, target, &max_error)); in main()
798 CeedVectorDestroy(&target); in main()
H A Dbpsswarm.c288 Vec target; in main() local
290 PetscCall(DMCreateLocalVector(dm_swarm, &target)); in main()
292 PetscCall(SetupProblemSwarm(dm_swarm, ceed, bp_options[bp_choice], ceed_data, true, rhs, target)); in main()
377 PetscCall(VecCopy(target, u_swarm)); in main()
440 PetscCall(VecDestroy(&target)); in main()
H A Dbps.c66 CeedVector rhs_ceed, target; in RunWithDM() local
168 ceed_data, true, true, rhs_ceed, &target)); in RunWithDM()
186 CeedOperatorSetField(op_error, "true_soln", ceed_data->elem_restr_u_i, CEED_BASIS_NONE, target); in RunWithDM()
312 CeedVectorDestroy(&target); in RunWithDM()
430 "Target number of locally owned nodes per " in main()
/libCEED/doc/sphinx/
H A DMakefile20 # Catch-all target: route all unknown targets to Sphinx using the new
/libCEED/examples/petsc/include/
H A Dlibceedsetup.h20 CeedVector rhs_ceed, CeedVector *target);
/libCEED/
H A D.gitignore43 /target/
/libCEED/backends/weak/
H A Dceed-backend-weak.c20 // This function provides a debug target for weak symbols
/libCEED/examples/rust-qfunctions/
H A DMakefile30 … -o $@ $(CEED_LIBS) -L$(CEED_DIR)/examples/rust-qfunctions/ex1-volume-rs/target/release -lex1_volu…
/libCEED/backends/magma/tuning/
H A DREADME.md10 generate the optimal `NB` selections for a new target architecture.

12