| /libCEED/include/ceed/jit-source/hip/ |
| H A D | hip-ref-operator-assemble.h | 49 CeedScalar result = 0.0; in __launch_bounds__() local 61 …result += 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 D | t356-basis.c | 9 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 D | t365-basis.c | 9 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 D | t361-basis.c | 9 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 D | t315-basis.c | 9 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 D | t314-basis.c | 9 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 D | t357-basis.c | 9 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 D | t316-basis.c | 9 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 D | t351-basis.c | 9 CeedScalar result = 1, center = 0.1; in Eval() local 11 result *= tanh(x[d] - center); in Eval() 14 return result; in Eval()
|
| H A D | t313-basis.c | 9 CeedScalar result = 1, center = 0.1; in Eval() local 11 result *= tanh(x[d] - center); in Eval() 14 return result; in Eval()
|
| H A D | t318-basis.c | 9 CeedScalar result = 1, center = 0.1; in Eval() local 11 result *= tanh(x[d] - center); in Eval() 14 return result; in Eval()
|
| H A D | junit.py | 201 result: TestSuite = run_tests( variable 213 write_junit_xml(result, args.junit_batch) 214 if has_failures(result):
|
| H A D | t352-basis.c | 9 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 D | t354-basis.c | 9 CeedScalar result = 1, center = 0.1; in Eval() local 11 result *= tanh(x[d] - center); in Eval() 14 return result; in Eval()
|
| H A D | t319-basis.c | 10 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 D | cuda-ref-operator-assemble.h | 49 CeedScalar result = 0.0; in __launch_bounds__() local 61 …result += 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 D | ceed-hip-compile.cpp | 23 …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 D | ElemRestriction.jl | 272 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 D | Operator.jl | 94 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 D | ceed-cuda-compile.cpp | 32 …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 D | dmswarm.c | 274 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 D | Misc.md | 18 result in a type instability, and give poor performance.
|
| /libCEED/python/tests/ |
| H A D | test-3-basis.py | 26 result, center = 1, 0.1 28 result *= math.tanh(x[d] - center) 30 return result
|
| /libCEED/examples/python/ |
| H A D | tutorial-3-basis.ipynb | 60 " result, center = 1, 0.1\n", 62 " result *= np.tanh(x[d] - center)\n", 64 " return result\n",
|
| /libCEED/tests/junit-xml/ |
| H A D | README.rst | 8 A Python module for creating JUnit XML test result documents that can be
|