Home
last modified time | relevance | path

Searched full:opt (Results 1 – 25 of 49) sorted by relevance

12

/libCEED/examples/rust/ex1-volume-vector/src/
H A Dmain.rs26 mod opt; module
33 let options = opt::Opt::parse(); in main()
39 fn example_1_vector(options: opt::Opt) -> libceed::Result<()> { in example_1_vector()
41 let opt::Opt { in example_1_vector() localVariable
308 let options = opt::Opt { in example_1_vector_1d()
324 let options = opt::Opt { in example_1_vector_2d()
340 let options = opt::Opt { in example_1_vector_3d()
356 let options = opt::Opt { in example_1_vector_1d_gallery()
372 let options = opt::Opt { in example_1_vector_2d_gallery()
388 let options = opt::Opt { in example_1_vector_3d_gallery()
/libCEED/examples/rust/ex1-volume/src/
H A Dmain.rs25 mod opt; module
32 let options = opt::Opt::parse(); in main()
38 fn example_1(options: opt::Opt) -> libceed::Result<()> { in example_1()
40 let opt::Opt { in example_1() localVariable
290 let options = opt::Opt { in example_1_1d()
306 let options = opt::Opt { in example_1_2d()
322 let options = opt::Opt { in example_1_3d()
338 let options = opt::Opt { in example_1_1d_gallery()
354 let options = opt::Opt { in example_1_2d_gallery()
370 let options = opt::Opt { in example_1_3d_gallery()
/libCEED/examples/rust/ex2-surface/src/
H A Dmain.rs26 mod opt; module
33 let options = opt::Opt::parse(); in main()
39 fn example_2(options: opt::Opt) -> libceed::Result<()> { in example_2()
41 let opt::Opt { in example_2() localVariable
368 let options = opt::Opt { in example_2_1d()
384 let options = opt::Opt { in example_2_2d()
400 let options = opt::Opt { in example_2_3d()
416 let options = opt::Opt { in example_2_1d_gallery()
432 let options = opt::Opt { in example_2_2d_gallery()
448 let options = opt::Opt { in example_2_3d_gallery()
/libCEED/examples/rust/ex2-surface-vector/src/
H A Dmain.rs27 mod opt; module
34 let options = opt::Opt::parse(); in main()
40 fn example_2_vector(options: opt::Opt) -> libceed::Result<()> { in example_2_vector()
42 let opt::Opt { in example_2_vector() localVariable
399 let options = opt::Opt { in example_2_vector_1d()
415 let options = opt::Opt { in example_2_vector_2d()
431 let options = opt::Opt { in example_2_vector_3d()
447 let options = opt::Opt { in example_2_vector_1d_gallery()
463 let options = opt::Opt { in example_2_vector_2d_gallery()
479 let options = opt::Opt { in example_2_vector_3d_gallery()
/libCEED/examples/fluids/include/
H A Dbc_definition.h28 @param[in] opt The option one is seeking
35 #define PetscOptionsBCDefinition(opt, text, man, name, bc_def, set) \ argument
36 PetscOptionsBCDefinition_Private(PetscOptionsObject, opt, text, man, name, bc_def, set)
37 PetscErrorCode PetscOptionsBCDefinition_Private(PetscOptionItems PetscOptionsObject, const char opt
/libCEED/backends/opt/
H A Dceed-opt-blocked.c13 #include "ceed-opt.h"
33 …(resource, "/cpu/self") || !strcmp(resource, "/cpu/self/opt") || !strcmp(resource, "/cpu/self/opt/… in CeedInit_Opt_Blocked()
34 CEED_ERROR_BACKEND, "Opt backend cannot use resource: %s", resource); in CeedInit_Opt_Blocked()
56 CEED_INTERN int CeedRegister_Opt_Blocked(void) { return CeedRegister("/cpu/self/opt/blocked", CeedI… in CeedRegister_Opt_Blocked()
H A Dceed-opt-serial.c13 #include "ceed-opt.h"
33 …CeedCheck(!strcmp(resource, "/cpu/self") || !strcmp(resource, "/cpu/self/opt/serial"), ceed, CEED_… in CeedInit_Opt_Serial()
34 "Opt backend cannot use resource: %s", resource); in CeedInit_Opt_Serial()
56 CEED_INTERN int CeedRegister_Opt_Serial(void) { return CeedRegister("/cpu/self/opt/serial", CeedIni… in CeedRegister_Opt_Serial()
/libCEED/examples/rust/ex3-volume/src/
H A Dmain.rs25 mod opt; module
32 let options = opt::Opt::parse(); in main()
38 fn example_3(options: opt::Opt) -> libceed::Result<()> { in example_3()
40 let opt::Opt { in example_3() localVariable
371 let options = opt::Opt { in example_3_1d()
386 let options = opt::Opt { in example_3_2d()
401 let options = opt::Opt { in example_3_3d()
/libCEED/examples/rust/ex3-volume-vector/src/
H A Dmain.rs26 mod opt; module
33 let options = opt::Opt::parse(); in main()
39 fn example_3_vector(options: opt::Opt) -> libceed::Result<()> { in example_3_vector()
41 let opt::Opt { in example_3_vector() localVariable
394 let options = opt::Opt { in example_3_vector_1d()
409 let options = opt::Opt { in example_3_vector_2d()
424 let options = opt::Opt { in example_3_vector_vector_3d()
/libCEED/
H A DMakefile45 # Often /opt/cuda or /usr/local/cuda, but sometimes present on machines that don't support CUDA
49 # Often /opt/rocm, but sometimes present on machines that don't support HIP
136 OPT.gcc := -g -ffp-contract=fast
137 OPT.clang := $(OPT.gcc)
138 OPT.icc := $(OPT.gcc)
139 OPT.oneAPI := $(OPT.clang)
140 OPT.emcc :=
174 OPT ?= -O $(MARCHFLAG) $(OPT.$(CC_VENDOR)) $(OMP_SIMD_FLAG) macro
175 CFLAGS ?= $(OPT) $(CFLAGS.$(CC_VENDOR)) $(if $(PEDANTIC),$(PEDANTICFLAGS))
176 CXXFLAGS ?= $(OPT) $(CXXFLAGS.$(CC_VENDOR)) $(if $(PEDANTIC),$(PEDANTICFLAGS))
[all …]
H A DREADME.md44 $ make OPT='-O3 -march=skylake-avx512 -ffp-contract=fast'
64 To enable CUDA support, add `CUDA_DIR=/opt/cuda` or an appropriate directory to your `make` invocat…
65 To enable HIP support, add `ROCM_DIR=/opt/rocm` or an appropriate directory.
66 To enable SYCL support, add `SYCL_DIR=/opt/sycl` or an appropriate directory.
70 $ . /opt/intel/oneapi/setvars.sh
71 $ make SYCL_DIR=/opt/intel/oneapi/compiler/latest/linux SYCLCXX=icpx CC=icx CXX=icpx
85 $ make configure CUDA_DIR=/usr/local/cuda ROCM_DIR=/opt/rocm OPT='-O3 -march=znver2'
154 | `/cpu/self/opt/serial` | Serial optimized C implementation | Yes …
155 | `/cpu/self/opt/blocked` | Blocked optimized C implementation | Yes …
192 The `/cpu/self/opt/*` backends are written in pure C and use partial e-vectors to improve performan…
[all …]
H A Dceed.pc.template4 cflags_extra=%opt%
H A D.gitlab-ci.yml37 - make configure OPT='-O -march=native -ffp-contract=fast'
86 - make configure OPT='-O -march=native -ffp-contract=fast'
152 # - . /opt/intel/oneapi/setvars.sh
161 # - make configure SYCL_DIR=/opt/intel/oneapi/compiler/latest OPT='-O -march=native -ffp-contrac…
198 - make configure OPT='-O -march=native -ffp-contract=fast' CUDA_DIR=/usr/local/cuda-12.9
251 - make configure OPT='-O -march=native -ffp-contract=fast' CUDA_DIR=/usr/local/cuda-12.9
335 # - make configure ROCM_DIR=/opt/rocm-6.3.0 OPT='-O -march=native -ffp-contract=fast'
397 - make configure ROCM_DIR=/opt/rocm-6.3.0 OPT='-O -march=native -ffp-contract=fast'
443 - make configure OPT='-O -march=native -ffp-contract=fast' CUDA_DIR=/usr/local/cuda-12.9
/libCEED/rust/libceed-sys/c-src/
H A DMakefile45 # Often /opt/cuda or /usr/local/cuda, but sometimes present on machines that don't support CUDA
49 # Often /opt/rocm, but sometimes present on machines that don't support HIP
136 OPT.gcc := -g -ffp-contract=fast
137 OPT.clang := $(OPT.gcc)
138 OPT.icc := $(OPT.gcc)
139 OPT.oneAPI := $(OPT.clang)
140 OPT.emcc :=
174 OPT ?= -O $(MARCHFLAG) $(OPT.$(CC_VENDOR)) $(OMP_SIMD_FLAG) macro
175 CFLAGS ?= $(OPT) $(CFLAGS.$(CC_VENDOR)) $(if $(PEDANTIC),$(PEDANTICFLAGS))
176 CXXFLAGS ?= $(OPT) $(CXXFLAGS.$(CC_VENDOR)) $(if $(PEDANTIC),$(PEDANTICFLAGS))
[all …]
H A Dceed.pc.template4 cflags_extra=%opt%
/libCEED/backends/
H A Dceed-backend-list-ref.h14 CEED_BACKEND(CeedRegister_Opt_Blocked, 1, "/cpu/self/opt/blocked")
15 CEED_BACKEND(CeedRegister_Opt_Serial, 1, "/cpu/self/opt/serial")
/libCEED/examples/ceed/
H A DMakefile8 OPT ?= -O -g macro
12 CEED_FLAGS ?= -I$(CEED_DIR)/include -std=c11 $(OPT)
/libCEED/examples/rust-qfunctions/
H A DMakefile8 OPT ?= -O -g macro
12 CEED_FLAGS ?= -I$(CEED_DIR)/include -std=c11 $(OPT)
/libCEED/examples/mfem/
H A DMakefile11 OPT ?= -O -g macro
15 CEED_FLAGS ?= -I$(CEED_DIR)/include $(OPT)
/libCEED/examples/fluids/
H A DMakefile30 $(OPT) $(OPT_EXAMPLES)
77 $(info OPT : $(OPT))
/libCEED/examples/python/
H A Dtutorial-0-ceed.ipynb79 "To use a particular backend, for instance `/cpu/self/opt/blocked` you can specify"
88 "ceed = libceed.Ceed('/cpu/self/opt/blocked')"
/libCEED/examples/fluids/src/
H A Dbc_definition.c94 PetscErrorCode PetscOptionsBCDefinition_Private(PetscOptionItems PetscOptionsObject, const char opt in PetscOptionsBCDefinition_Private() argument
99 PetscCall(PetscOptionsIntArray(opt, text, man, label_values, &num_label_values, set)); in PetscOptionsBCDefinition_Private()
/libCEED/python/
H A Dtest-wheel.sh10 python -m pytest test-*.py --ceed /cpu/self/opt/blocked -vv
/libCEED/.github/workflows/
H A Dc-fortran-test-icc.yml31 source /opt/intel/oneapi/setvars.sh
/libCEED/backends/magma/tuning/
H A DMakefile13 CXXFLAGS = $(OPT)

12