| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref-vector.c | 314 hipStream_t stream; in CeedVectorCopyStrided_Hip() local 316 CeedCallHipblas(ceed, hipblasGetStream(handle, &stream)); in CeedVectorCopyStrided_Hip() 322 CeedCallHip(ceed, hipStreamSynchronize(stream)); in CeedVectorCopyStrided_Hip() 562 hipStream_t stream; in CeedVectorNorm_Hip() local 570 CeedCallHipblas(ceed, hipblasGetStream(handle, &stream)); in CeedVectorNorm_Hip() 587 CeedCallHip(ceed, hipStreamSynchronize(stream)); in CeedVectorNorm_Hip() 598 CeedCallHip(ceed, hipStreamSynchronize(stream)); in CeedVectorNorm_Hip() 605 CeedCallHip(ceed, hipStreamSynchronize(stream)); in CeedVectorNorm_Hip() 616 CeedCallHip(ceed, hipStreamSynchronize(stream)); in CeedVectorNorm_Hip() 627 CeedCallHip(ceed, hipStreamSynchronize(stream)); in CeedVectorNorm_Hip() [all …]
|
| /libCEED/backends/hip/ |
| H A D | ceed-hip-compile.cpp | 229 static int CeedRunKernelDimSharedCore_Hip(Ceed ceed, hipFunction_t kernel, hipStream_t stream, cons… in CeedRunKernelDimSharedCore_Hip() argument 232 …l, grid_size, 1, 1, block_size_x, block_size_y, block_size_z, shared_mem_size, stream, args, NULL); in CeedRunKernelDimSharedCore_Hip() 253 int CeedRunKernelDimShared_Hip(Ceed ceed, hipFunction_t kernel, hipStream_t stream, const int grid_… in CeedRunKernelDimShared_Hip() argument 257 …CeedCallBackend(CeedRunKernelDimSharedCore_Hip(ceed, kernel, stream, grid_size, block_size_x, bloc… in CeedRunKernelDimShared_Hip() 262 int CeedTryRunKernelDimShared_Hip(Ceed ceed, hipFunction_t kernel, hipStream_t stream, const int gr… in CeedTryRunKernelDimShared_Hip() argument 264 …CeedCallBackend(CeedRunKernelDimSharedCore_Hip(ceed, kernel, stream, grid_size, block_size_x, bloc… in CeedTryRunKernelDimShared_Hip()
|
| H A D | ceed-hip-compile.h | 25 CEED_INTERN int CeedRunKernelDimShared_Hip(Ceed ceed, hipFunction_t kernel, hipStream_t stream, int… 27 CEED_INTERN int CeedTryRunKernelDimShared_Hip(Ceed ceed, hipFunction_t kernel, hipStream_t stream, …
|
| /libCEED/backends/cuda/ |
| H A D | ceed-cuda-compile.h | 26 CEED_INTERN int CeedRunKernelDimShared_Cuda(Ceed ceed, CUfunction kernel, CUstream stream, int grid… 28 CEED_INTERN int CeedTryRunKernelDimShared_Cuda(Ceed ceed, CUfunction kernel, CUstream stream, int g…
|
| H A D | ceed-cuda-compile.cpp | 471 static int CeedRunKernelDimSharedCore_Cuda(Ceed ceed, CUfunction kernel, CUstream stream, const int… in CeedRunKernelDimSharedCore_Cuda() argument 477 …l, grid_size, 1, 1, block_size_x, block_size_y, block_size_z, shared_mem_size, stream, args, NULL); in CeedRunKernelDimSharedCore_Cuda() 502 int CeedRunKernelDimShared_Cuda(Ceed ceed, CUfunction kernel, CUstream stream, const int grid_size,… in CeedRunKernelDimShared_Cuda() argument 506 …CeedCallBackend(CeedRunKernelDimSharedCore_Cuda(ceed, kernel, stream, grid_size, block_size_x, blo… in CeedRunKernelDimShared_Cuda() 511 int CeedTryRunKernelDimShared_Cuda(Ceed ceed, CUfunction kernel, CUstream stream, const int grid_si… in CeedTryRunKernelDimShared_Cuda() argument 513 …CeedCallBackend(CeedRunKernelDimSharedCore_Cuda(ceed, kernel, stream, grid_size, block_size_x, blo… in CeedTryRunKernelDimShared_Cuda()
|
| /libCEED/interface/ |
| H A D | ceed-operator.c | 99 FILE *stream) { in CeedOperatorFieldView() argument 111 fprintf(stream, in CeedOperatorFieldView() 116 fprintf(stream, "%s Size: %" CeedInt_FMT "\n", tabs, size); in CeedOperatorFieldView() 117 fprintf(stream, "%s EvalMode: %s\n", tabs, CeedEvalModes[eval_mode]); in CeedOperatorFieldView() 118 if (basis == CEED_BASIS_NONE) fprintf(stream, "%s No basis\n", tabs); in CeedOperatorFieldView() 119 if (vec == CEED_VECTOR_ACTIVE) fprintf(stream, "%s Active vector\n", tabs); in CeedOperatorFieldView() 120 else if (vec == CEED_VECTOR_NONE) fprintf(stream, "%s No vector\n", tabs); in CeedOperatorFieldView() 138 int CeedOperatorSingleView(CeedOperator op, const char *tabs, FILE *stream) { in CeedOperatorSingleView() argument 160 …fprintf(stream, "%s %" CeedInt_FMT " elements with %" CeedInt_FMT " max points each\n", tabs, num… in CeedOperatorSingleView() 163 …fprintf(stream, "%s %" CeedInt_FMT " elements with %" CeedInt_FMT " quadrature points each\n", ta… in CeedOperatorSingleView() [all …]
|
| H A D | ceed-object.c | 108 int CeedObjectView(CeedObject obj, FILE *stream) { in CeedObjectView() argument 109 if (obj->View) CeedCall(obj->View(obj, stream)); in CeedObjectView()
|
| H A D | ceed-qfunction.c | 127 …ieldView(CeedQFunctionField field, CeedInt field_number, bool in, const char *tabs, FILE *stream) { in CeedQFunctionFieldView() argument 134 fprintf(stream, in CeedQFunctionFieldView() 155 static int CeedQFunctionView_Object(CeedObject qf, FILE *stream) { in CeedQFunctionView_Object() argument 156 CeedCall(CeedQFunctionView((CeedQFunction)qf, stream)); in CeedQFunctionView_Object() 1082 int CeedQFunctionView(CeedQFunction qf, FILE *stream) { in CeedQFunctionView() argument 1095 fprintf(stream, "%s%sCeedQFunction - %s\n", tabs, qf->is_gallery ? "Gallery " : "User ", name); in CeedQFunctionView() 1097 …fprintf(stream, "%s %" CeedInt_FMT " input field%s:\n", tabs, qf->num_input_fields, qf->num_input… in CeedQFunctionView() 1099 CeedCall(CeedQFunctionFieldView(qf->input_fields[i], i, 1, tabs, stream)); in CeedQFunctionView() 1102 …fprintf(stream, "%s %" CeedInt_FMT " output field%s:\n", tabs, qf->num_output_fields, qf->num_out… in CeedQFunctionView() 1104 CeedCall(CeedQFunctionFieldView(qf->output_fields[i], i, 0, tabs, stream)); in CeedQFunctionView()
|
| H A D | ceed-qfunctioncontext.c | 140 static int CeedQFunctionContextView_Object(CeedObject ctx, FILE *stream) { in CeedQFunctionContextView_Object() argument 141 CeedCall(CeedQFunctionContextView((CeedQFunctionContext)ctx, stream)); in CeedQFunctionContextView_Object() 951 int CeedQFunctionContextView(CeedQFunctionContext ctx, FILE *stream) { in CeedQFunctionContextView() argument 962 fprintf(stream, "%sCeedQFunctionContext\n", tabs); in CeedQFunctionContextView() 963 fprintf(stream, "%s Context Data Size: %zu\n", tabs, ctx->ctx_size); in CeedQFunctionContextView() 965 …fprintf(stream, "%s Labeled %s field: %s\n", tabs, CeedContextFieldTypes[ctx->field_labels[i]->ty… in CeedQFunctionContextView()
|
| H A D | ceed-vector.c | 52 static int CeedVectorView_Object(CeedObject vec, FILE *stream) { in CeedVectorView_Object() argument 53 CeedCall(CeedVectorView((CeedVector)vec, "%12.8f", stream)); in CeedVectorView_Object() 1080 …ge(CeedVector vec, CeedSize start, CeedSize stop, CeedInt step, const char *fp_fmt, FILE *stream) { in CeedVectorViewRange() argument 1097 fprintf(stream, "%sCeedVector length %" CeedSize_FMT "\n", tabs, length); in CeedVectorViewRange() 1099 …fprintf(stream, "%s start: %" CeedSize_FMT "\n%s stop: %" CeedSize_FMT "\n%s step: %" CeedInt… in CeedVectorViewRange() 1106 …for (CeedSize i = start; step > 0 ? (i < stop) : (i > stop); i += step) fprintf(stream, fmt, x[i]); in CeedVectorViewRange() 1108 if (stop != length) fprintf(stream, "%s ...\n", tabs); in CeedVectorViewRange() 1124 int CeedVectorView(CeedVector vec, const char *fp_fmt, FILE *stream) { in CeedVectorView() argument 1128 CeedCall(CeedVectorViewRange(vec, 0, length, 1, fp_fmt, stream)); in CeedVectorView()
|
| H A D | ceed-basis.c | 163 …e, const char *fp_fmt, CeedInt m, CeedInt n, const CeedScalar *a, const char *tabs, FILE *stream) { in CeedScalarView() argument 165 fprintf(stream, "%s %s:\n", tabs, name); in CeedScalarView() 170 fprintf(stream, "%s %-10s", tabs, padded_name); in CeedScalarView() 173 if (m > 1) fprintf(stream, "%s [%" CeedInt_FMT "]", tabs, i); in CeedScalarView() 174 …for (CeedInt j = 0; j < n; j++) fprintf(stream, fp_fmt, fabs(a[i * n + j]) > 1E-14 ? a[i * n + j] … in CeedScalarView() 175 fputs("\n", stream); in CeedScalarView() 190 static int CeedBasisView_Object(CeedObject basis, FILE *stream) { in CeedBasisView_Object() argument 191 CeedCall(CeedBasisView((CeedBasis)basis, stream)); in CeedBasisView_Object() 1961 int CeedBasisView(CeedBasis basis, FILE *stream) { in CeedBasisView() argument 1981 …fprintf(stream, "%sCeedBasis in a %s on a %s element\n", tabs, CeedFESpaces[fe_space], CeedElemTop… in CeedBasisView() [all …]
|
| H A D | ceed-elemrestriction.c | 111 static int CeedElemRestrictionView_Object(CeedObject rstr, FILE *stream) { in CeedElemRestrictionView_Object() argument 112 CeedCall(CeedElemRestrictionView((CeedElemRestriction)rstr, stream)); in CeedElemRestrictionView_Object() 1781 int CeedElemRestrictionView(CeedElemRestriction rstr, FILE *stream) { in CeedElemRestrictionView() argument 1798 fprintf(stream, in CeedElemRestrictionView() 1810 fprintf(stream, in CeedElemRestrictionView()
|
| H A D | ceed.c | 191 static int CeedView_Object(CeedObject ceed, FILE *stream) { in CeedView_Object() argument 192 CeedCall(CeedView((Ceed)ceed, stream)); in CeedView_Object() 1618 int CeedView(Ceed ceed, FILE *stream) { in CeedView() argument 1631 fprintf(stream, in CeedView()
|
| /libCEED/python/ |
| H A D | ceed_qfunctioncontext.py | 51 stream = ffi.cast("FILE *", stream_file) 54 self._pointer[0], stream)
|
| H A D | ceed_qfunction.py | 37 stream = ffi.cast("FILE *", stream_file) 39 err_code = lib.CeedQFunctionView(self._pointer[0], stream)
|
| H A D | ceed_operator.py | 36 stream = ffi.cast("FILE *", stream_file) 38 err_code = lib.CeedOperatorView(self._pointer[0], stream)
|
| H A D | ceed_basis.py | 31 stream = ffi.cast("FILE *", stream_file) 33 err_code = lib.CeedBasisView(self._pointer[0], stream)
|
| H A D | ceed.py | 60 stream = ffi.cast("FILE *", stream_file) 62 err_code = lib.CeedView(self._pointer[0], stream)
|
| H A D | ceed_vector.py | 51 stream = ffi.cast("FILE *", stream_file) 53 err_code = lib.CeedVectorView(self._pointer[0], fmt, stream)
|
| H A D | ceed_elemrestriction.py | 38 stream = ffi.cast("FILE *", stream_file) 40 err_code = lib.CeedElemRestrictionView(self._pointer[0], stream)
|
| /libCEED/include/ceed/ |
| H A D | ceed.h | 106 CEED_EXTERN int CeedObjectView(CeedObject obj, FILE *stream); 124 CEED_EXTERN int CeedView(Ceed ceed, FILE *stream); 221 …nge(CeedVector vec, CeedSize start, CeedSize stop, CeedInt step, const char *fp_fmt, FILE *stream); 222 CEED_EXTERN int CeedVectorView(CeedVector vec, const char *fp_fmt, FILE *stream); 312 CEED_EXTERN int CeedElemRestrictionView(CeedElemRestriction rstr, FILE *stream); 333 CEED_EXTERN int CeedBasisView(CeedBasis basis, FILE *stream); 391 CEED_EXTERN int CeedQFunctionView(CeedQFunction qf, FILE *stream); 431 CEED_EXTERN int CeedQFunctionContextView(CeedQFunctionContext ctx, FILE *stream); 482 CEED_EXTERN int CeedOperatorView(CeedOperator op, FILE *stream); 483 CEED_EXTERN int CeedOperatorViewTerse(CeedOperator op, FILE *stream);
|
| /libCEED/backends/cuda-gen/ |
| H A D | ceed-cuda-gen-operator.c | 105 static int CeedOperatorApplyAddCore_Cuda_gen(CeedOperator op, CUstream stream, const CeedScalar *in… in CeedOperatorApplyAddCore_Cuda_gen() argument 222 …CeedCallBackend(CeedTryRunKernelDimShared_Cuda(ceed, data->op, stream, grid, block[0], block[1], b… in CeedOperatorApplyAddCore_Cuda_gen() 303 cudaStream_t stream = NULL; in CeedOperatorApplyAddComposite_Cuda_gen() local 311 if (is_sequential) CeedCallCuda(ceed, cudaStreamCreate(&stream)); in CeedOperatorApplyAddComposite_Cuda_gen() 317 if (!is_sequential) CeedCallCuda(ceed, cudaStreamCreate(&stream)); in CeedOperatorApplyAddComposite_Cuda_gen() 318 …CeedCallBackend(CeedOperatorApplyAddCore_Cuda_gen(sub_operators[i], stream, input_arr, output_arr,… in CeedOperatorApplyAddComposite_Cuda_gen() 319 if (!is_sequential) CeedCallCuda(ceed, cudaStreamDestroy(stream)); in CeedOperatorApplyAddComposite_Cuda_gen() 322 if (is_sequential) CeedCallCuda(ceed, cudaStreamDestroy(stream)); in CeedOperatorApplyAddComposite_Cuda_gen()
|
| /libCEED/julia/LibCEED.jl/src/generated/ |
| H A D | libceed_bindings.jl | 152 function CeedView(ceed, stream) argument 153 ccall((:CeedView, libceed), Cint, (Ceed, Ptr{Libc.FILE}), ceed, stream) 259 function CeedVectorViewRange(vec, start, stop, step, fp_fmt, stream) argument 260 …, CeedSize, CeedSize, CeedInt, Ptr{Cchar}, Ptr{Libc.FILE}), vec, start, stop, step, fp_fmt, stream) 263 function CeedVectorView(vec, fp_fmt, stream) argument 264 …ll((:CeedVectorView, libceed), Cint, (CeedVector, Ptr{Cchar}, Ptr{Libc.FILE}), vec, fp_fmt, stream) 395 function CeedElemRestrictionView(rstr, stream) argument 396 …all((:CeedElemRestrictionView, libceed), Cint, (CeedElemRestriction, Ptr{Libc.FILE}), rstr, stream) 431 function CeedBasisView(basis, stream) argument 432 ccall((:CeedBasisView, libceed), Cint, (CeedBasis, Ptr{Libc.FILE}), basis, stream) [all …]
|
| /libCEED/backends/hip-gen/ |
| H A D | ceed-hip-gen-operator.c | 52 static int CeedOperatorApplyAddCore_Hip_gen(CeedOperator op, hipStream_t stream, const CeedScalar *… in CeedOperatorApplyAddCore_Hip_gen() argument 166 …CeedCallBackend(CeedTryRunKernelDimShared_Hip(ceed, data->op, stream, grid, block_sizes[0], block_… in CeedOperatorApplyAddCore_Hip_gen() 172 …CeedCallBackend(CeedTryRunKernelDimShared_Hip(ceed, data->op, stream, grid, block_sizes[0], block_… in CeedOperatorApplyAddCore_Hip_gen() 178 …CeedCallBackend(CeedTryRunKernelDimShared_Hip(ceed, data->op, stream, grid, block_sizes[0], block_… in CeedOperatorApplyAddCore_Hip_gen()
|
| /libCEED/examples/python/ |
| H A D | tutorial-6-shell.ipynb | 177 "output_type": "stream", 268 "output_type": "stream",
|