Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 37) sorted by relevance

12

/libCEED/include/ceed/jit-source/hip/
H A Dhip-ref-operator-assemble.h49 CeedScalar result = 0.0; in __launch_bounds__() local
61result += B_out[b_out_index + j * NUM_NODES_OUT + i] * qf_array[qf_index + j] * B_in[b_in_index + … in __launch_bounds__()
66 result *= orients_in[NUM_NODES_IN * e + l] ? -1.0 : 1.0; in __launch_bounds__()
69 result *= orients_out[NUM_NODES_OUT * e + i] ? -1.0 : 1.0; in __launch_bounds__()
74 values_array[val_index] = result; in __launch_bounds__()
76 s_C[NUM_NODES_IN * threadIdx.y + l] = result; in __launch_bounds__()
83 s_CT[NUM_NODES_IN * i + l] = result; in __launch_bounds__()
/libCEED/tests/
H A Dt356-basis.c9 CeedScalar result = 1, center = 0.1; in Eval() local
11 result *= tanh(x[d] - center); in Eval()
14 return result; in Eval()
18 CeedScalar result = 1, center = 0.1; in EvalGrad() local
20 if (d == direction) result *= 1.0 / cosh(x[d] - center) / cosh(x[d] - center); in EvalGrad()
21 else result *= tanh(x[d] - center); in EvalGrad()
24 return result; in EvalGrad()
H A Dt365-basis.c9 CeedScalar result = tanh(x[0] + 0.1); in Eval() local
10 if (dim > 1) result += atan(x[1] + 0.2); in Eval()
11 if (dim > 2) result += exp(-(x[2] + 0.3) * (x[2] + 0.3)); in Eval()
12 return result; in Eval()
H A Dt361-basis.c9 CeedScalar result = tanh(x[0] + 0.1); in Eval() local
10 if (dim > 1) result += atan(x[1] + 0.2); in Eval()
11 if (dim > 2) result += exp(-(x[2] + 0.3) * (x[2] + 0.3)); in Eval()
12 return result; in Eval()
H A Dt315-basis.c9 CeedScalar result = tanh(x[0] + 0.1); in Eval() local
10 if (dim > 1) result += atan(x[1] + 0.2); in Eval()
11 if (dim > 2) result += exp(-(x[2] + 0.3) * (x[2] + 0.3)); in Eval()
12 return result; in Eval()
H A Dt314-basis.c9 CeedScalar result = tanh(x[0] + 0.1); in Eval() local
10 if (dim > 1) result += atan(x[1] + 0.2); in Eval()
11 if (dim > 2) result += exp(-(x[2] + 0.3) * (x[2] + 0.3)); in Eval()
12 return result; in Eval()
H A Dt357-basis.c9 CeedScalar result = tanh(x[0] + 0.1); in Eval() local
10 if (dim > 1) result += atan(x[1] + 0.2); in Eval()
11 if (dim > 2) result += exp(-(x[2] + 0.3) * (x[2] + 0.3)); in Eval()
12 return result; in Eval()
H A Dt316-basis.c9 CeedScalar result = tanh(x[0] + 0.1); in Eval() local
10 if (dim > 1) result += atan(x[1] + 0.2); in Eval()
11 if (dim > 2) result += exp(-(x[2] + 0.3) * (x[2] + 0.3)); in Eval()
12 return result; in Eval()
H A Dt351-basis.c9 CeedScalar result = 1, center = 0.1; in Eval() local
11 result *= tanh(x[d] - center); in Eval()
14 return result; in Eval()
H A Dt313-basis.c9 CeedScalar result = 1, center = 0.1; in Eval() local
11 result *= tanh(x[d] - center); in Eval()
14 return result; in Eval()
H A Dt318-basis.c9 CeedScalar result = 1, center = 0.1; in Eval() local
11 result *= tanh(x[d] - center); in Eval()
14 return result; in Eval()
H A Djunit.py201 result: TestSuite = run_tests( variable
213 write_junit_xml(result, args.junit_batch)
214 if has_failures(result):
H A Dt352-basis.c9 CeedScalar result = 1, center = 0.1; in Eval() local
11 result *= tanh(x[d] - center); in Eval()
14 return scale * result; in Eval()
H A Dt354-basis.c9 CeedScalar result = 1, center = 0.1; in Eval() local
11 result *= tanh(x[d] - center); in Eval()
14 return result; in Eval()
H A Dt319-basis.c10 CeedScalar result = (x[0] + 0.1) * (x[0] + 0.1); in Eval() local
11 if (dim > 1) result += (x[1] + 0.2) * (x[1] + 0.2); in Eval()
12 if (dim > 2) result += -(x[2] + 0.3) * (x[2] + 0.3); in Eval()
13 return result; in Eval()
/libCEED/include/ceed/jit-source/cuda/
H A Dcuda-ref-operator-assemble.h49 CeedScalar result = 0.0; in __launch_bounds__() local
61result += B_out[b_out_index + j * NUM_NODES_OUT + i] * qf_array[qf_index + j] * B_in[b_in_index + … in __launch_bounds__()
66 result *= orients_in[NUM_NODES_IN * e + l] ? -1.0 : 1.0; in __launch_bounds__()
69 result *= orients_out[NUM_NODES_OUT * e + i] ? -1.0 : 1.0; in __launch_bounds__()
74 values_array[val_index] = result; in __launch_bounds__()
76 s_C[NUM_NODES_IN * threadIdx.y + l] = result; in __launch_bounds__()
83 s_CT[NUM_NODES_IN * i + l] = result; in __launch_bounds__()
/libCEED/backends/hip/
H A Dceed-hip-compile.cpp23 …hiprtcResult result = static_cast<hiprtcResult>(x); …
24 …if (result != HIPRTC_SUCCESS) return CeedError((ceed), CEED_ERROR_BACKEND, hiprtcGetErrorString(re…
137 …hiprtcResult result = hiprtcCompileProgram(prog, num_opts + num_jit_source_dirs + num_jit_defines,… in CeedCompileCore_Hip() local
146 *is_compile_good = result == HIPRTC_SUCCESS; in CeedCompileCore_Hip()
155 return CeedError(ceed, CEED_ERROR_BACKEND, "%s\n%s", hiprtcGetErrorString(result), log); in CeedCompileCore_Hip()
159 CeedDebug(ceed, "Error: %s\nCompile log:\n%s\n", hiprtcGetErrorString(result), log); in CeedCompileCore_Hip()
232 …hipError_t result = hipModuleLaunchKernel(kernel, grid_size, 1, 1, block_size_x, block_size_y, blo… in CeedRunKernelDimSharedCore_Hip() local
234 if (result == hipSuccess) { in CeedRunKernelDimSharedCore_Hip()
238 CeedCallHip(ceed, result); in CeedRunKernelDimSharedCore_Hip()
241 const char *message = hipGetErrorName(result); in CeedRunKernelDimSharedCore_Hip()
/libCEED/julia/LibCEED.jl/src/
H A DElemRestriction.jl272 tranpose operation). The input [`CeedVector`](@ref) is `u` and the result stored in `ru`.
274 If `tmode` is `TRANSPOSE`, then the result is added to `ru`. If `tmode` is `NOTRANSPOSE`,
275 then `ru` is overwritten with the result.
291 tranpose operation). The input is given by `u`, and the result is returned as an array of
366 result = Ref{CeedInt}()
367 C.CeedElemRestrictionGetNumElements(r[], result)
368 result[]
377 result = Ref{CeedInt}()
378 C.CeedElemRestrictionGetElementSize(r[], result)
379 result[]
[all …]
H A DOperator.jl94 Apply the action of the operator `op` to the input vector `vin`, and store the result in the
112 Apply the action of the operator `op` to the input vector `vin`, and add the result to the
/libCEED/backends/cuda/
H A Dceed-cuda-compile.cpp32 …nvrtcResult result = static_cast<nvrtcResult>(x); …
33 …if (result != NVRTC_SUCCESS) return CeedError((ceed), CEED_ERROR_BACKEND, nvrtcGetErrorString(resu…
179 …nvrtcResult result = nvrtcCompileProgram(prog, num_opts + num_jit_source_dirs + num_jit_defines, o… in CeedCompileCore_Cuda() local
188 *is_compile_good = result == NVRTC_SUCCESS; in CeedCompileCore_Cuda()
197 return CeedError(ceed, CEED_ERROR_BACKEND, "%s\n%s", nvrtcGetErrorString(result), log); in CeedCompileCore_Cuda()
201 CeedDebug(ceed, "Error: %s\nCompile log:\n%s\n", nvrtcGetErrorString(result), log); in CeedCompileCore_Cuda()
388 int result = cuModuleLoadData(module, ptx_data.c_str()); in CeedCompileCore_Cuda() local
390 *is_compile_good = result == 0; in CeedCompileCore_Cuda()
477 …CUresult result = cuLaunchKernel(kernel, grid_size, 1, 1, block_size_x, block_size_y, block_size_z… in CeedRunKernelDimSharedCore_Cuda() local
479 if (result == CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES) { in CeedRunKernelDimSharedCore_Cuda()
[all …]
/libCEED/examples/petsc/
H A Ddmswarm.c274 PetscScalar result = 0.0; in EvalU_Poly() local
281 result += result_1d; in EvalU_Poly()
283 return result * 1E-3; in EvalU_Poly()
287 PetscScalar result = 1.0, center = 0.1; in EvalU_Tanh() local
290 result *= tanh(x[d] - center); in EvalU_Tanh()
293 return result; in EvalU_Tanh()
/libCEED/julia/LibCEED.jl/docs/src/
H A DMisc.md18 result in a type instability, and give poor performance.
/libCEED/python/tests/
H A Dtest-3-basis.py26 result, center = 1, 0.1
28 result *= math.tanh(x[d] - center)
30 return result
/libCEED/examples/python/
H A Dtutorial-3-basis.ipynb60 " result, center = 1, 0.1\n",
62 " result *= np.tanh(x[d] - center)\n",
64 " return result\n",
/libCEED/tests/junit-xml/
H A DREADME.rst8 A Python module for creating JUnit XML test result documents that can be

12