Home
last modified time | relevance | path

Searched refs:block (Results 1 – 22 of 22) sorted by relevance

/libCEED/backends/cuda-gen/
H A Dceed-cuda-gen-operator.c75 …elem, int blocks_per_sm, int max_threads_per_block, int max_threads_z, int warp_size, int block[3], in BlockGridCalculate()
78 const int threads_per_elem = block[0] * block[1]; in BlockGridCalculate()
94 block[2] = CeedIntMin(elems_per_block, max_threads_z); in BlockGridCalculate()
209 int block[3] = {data->thread_1d, ((!is_tensor || data->dim == 1) ? 1 : data->thread_1d), -1}; in CeedOperatorApplyAddCore_Cuda_gen() local
213 … cuda_data->device_prop.maxThreadsDim[2], cuda_data->device_prop.warpSize, block, &grid)); in CeedOperatorApplyAddCore_Cuda_gen()
218 block[2] = elems_per_block; in CeedOperatorApplyAddCore_Cuda_gen()
220 CeedInt shared_mem = block[0] * block[1] * block[2] * sizeof(CeedScalar); in CeedOperatorApplyAddCore_Cuda_gen()
222 …nd(CeedTryRunKernelDimShared_Cuda(ceed, data->op, stream, grid, block[0], block[1], block[2], shar… in CeedOperatorApplyAddCore_Cuda_gen()
464 int block[3] = {data->thread_1d, ((!is_tensor || data->dim == 1) ? 1 : data->thread_1d), -1}; in CeedOperatorLinearAssembleQFunctionCore_Cuda_gen() local
468 … cuda_data->device_prop.maxThreadsDim[2], cuda_data->device_prop.warpSize, block, &grid)); in CeedOperatorLinearAssembleQFunctionCore_Cuda_gen()
[all …]
/libCEED/examples/python/
H A Dtutorial-2-elemrestriction.ipynb214 "# We block elements into groups of 5:\n",
216 … "# | block 0: | block 1: |\n",
224 "# | block 0: | block 1: |\n",
231 "# | block 0: | block 1: |\n",
284 "# We block elements into groups of 5:\n",
286 … "# | block 0: | block 1: |\n",
294 "# | block 1: |\n",
301 "# | block 1: |\n",
/libCEED/tests/
H A Dt202-elemrestriction.c43 CeedInt block = k / blk_size; in main() local
45 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main()
H A Dt208-elemrestriction.c42 CeedInt block = k / blk_size; in main() local
44 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main()
H A Dt203-elemrestriction.c49 CeedInt block = k / blk_size; in main() local
51 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main()
H A Dt213-elemrestriction.c53 CeedInt block = k / blk_size; in main() local
55 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main()
H A Dt219-elemrestriction.c58 CeedInt block = k / blk_size; in main() local
60 …CeedInt index = (i * blk_size + elem) * e_layout[0] + j * e_layout[1] * blk_size + block * e_layou… in main()
/libCEED/tests/junit-xml/
H A DREADME.rst43 .. code-block:: python
54 .. code-block:: xml
72 .. code-block:: python
/libCEED/python/tests/
H A Dtest-2-elemrestriction.py106 block = int(k / blk_size)
110 block * blk_size * layout[2]
154 block = int(k / blk_size)
157 layout[1] + block * blk_size * \
/libCEED/python/
H A Dceed_elemrestriction.py349 def apply_block(self, block, u, v, tmode=NOTRANSPOSE, argument
363 err_code = lib.CeedElemRestrictionApplyBlock(self._pointer[0], block, tmode,
497 def apply_block(self, block, u, v, request=REQUEST_IMMEDIATE): argument
509 self._elemrestriction.apply_block(block, u, v, request=request,
/libCEED/interface/
H A Dceed-elemrestriction.c1408 int CeedElemRestrictionApplyBlock(CeedElemRestriction rstr, CeedInt block, CeedTransposeMode t_mode… in CeedElemRestrictionApplyBlock() argument
1441 …CeedCheck(block_size * block <= num_elem, CeedElemRestrictionReturnCeed(rstr), CEED_ERROR_DIMENSIO… in CeedElemRestrictionApplyBlock()
1442 …dInt_FMT ", element %" CeedInt_FMT " > total elements %" CeedInt_FMT "", block, block_size * block, in CeedElemRestrictionApplyBlock()
1444 CeedCall(rstr->ApplyBlock(rstr, block, t_mode, u, ru, request)); in CeedElemRestrictionApplyBlock()
H A Dceed-fortran.c422 CEED_EXTERN void fCeedElemRestrictionApplyBlock(int *elemr, int *block, int *tmode, int *uvec, int … in fCeedElemRestrictionApplyBlock() argument
437 …*err = CeedElemRestrictionApplyBlock(CeedElemRestriction_dict[*elemr], *block, (CeedTransposeMode)… in fCeedElemRestrictionApplyBlock()
/libCEED/doc/sphinx/source/
H A DlibCEEDdev.md233 6. In libCEED functions, variables must be declared at the beginning of the code block (C90 style),…
237 The block should begin with `/**` and end with `**/`, each on their own line.
238 …The block should be indented by two spaces and should contain an `@brief` tag and description, a n…
239 …All parameter lines in the Doxygen block should be formatted such that parameter names and descrip…
H A Dintro.md18 The *assembled* representation uses a (block) CSR format.
H A Dreleasenotes.md263block diagonal matrices with {c:func}`CeedOperatorLinearAssemblePointBlockDiagonal`, provided in r…
303 - Linear QFunctions can be assembled as block-diagonal matrices (per quadrature point,
540 of CeedQFunctions and composition of block solvers constructed using
/libCEED/backends/memcheck/
H A Dceed-memcheck-restriction.c568 static int CeedElemRestrictionApplyBlock_Memcheck(CeedElemRestriction rstr, CeedInt block, CeedTran… in CeedElemRestrictionApplyBlock_Memcheck() argument
577 …CeedCallBackend(impl->Apply(rstr, num_comp, block_size, comp_stride, block, block + 1, t_mode, tru… in CeedElemRestrictionApplyBlock_Memcheck()
/libCEED/backends/ref/
H A Dceed-ref-restriction.c674 static int CeedElemRestrictionApplyBlock_Ref(CeedElemRestriction rstr, CeedInt block, CeedTranspose… in CeedElemRestrictionApplyBlock_Ref() argument
683 …CeedCallBackend(impl->Apply(rstr, num_comp, block_size, comp_stride, block, block + 1, t_mode, tru… in CeedElemRestrictionApplyBlock_Ref()
/libCEED/include/ceed/
H A Dceed.h292 CEED_EXTERN int CeedElemRestrictionApplyBlock(CeedElemRestriction rstr, CeedInt block, CeedTranspo…
/libCEED/doc/papers/joss/
H A Dpaper.md95 By grouping the operations $W_e$ and $f$ into a point-block diagonal $D$ and stacking the restricti…
/libCEED/
H A DDoxyfile233 # multi-line C++ special comment block (i.e. a block of //! or /// comments) as
235 # to treat a multi-line C++ comment block as a detailed description. Set this
586 # blocks will be appended to the function's detailed documentation block.
1285 # of the possible markers and block names see the documentation.
1965 # description of the possible markers and block names see the documentation.
2661 # the !include statement in a plantuml block.
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl343 function CeedElemRestrictionApplyBlock(rstr, block, t_mode, u, ru, request) argument
344 …dInt, CeedTransposeMode, CeedVector, CeedVector, Ptr{CeedRequest}), rstr, block, t_mode, u, ru, re…
/libCEED/examples/solids/
H A Dindex.md349 We apply traction to a block and plot integrated strain energy $\Phi$ as a function of the loading …