Lines Matching refs:impl

25   CeedQFunction_Memcheck *impl;  in CeedQFunctionApply_Memcheck()  local
27 CeedCallBackend(CeedQFunctionGetData(qf, &impl)); in CeedQFunctionApply_Memcheck()
37 CeedCallBackend(CeedVectorGetArrayRead(U[i], CEED_MEM_HOST, &impl->inputs[i])); in CeedQFunctionApply_Memcheck()
42 input_block_ids[i] = VALGRIND_CREATE_BLOCK(impl->inputs[i], len, name); in CeedQFunctionApply_Memcheck()
50 CeedCallBackend(CeedVectorGetArrayWrite(V[i], CEED_MEM_HOST, &impl->outputs[i])); in CeedQFunctionApply_Memcheck()
53 VALGRIND_MAKE_MEM_UNDEFINED(impl->outputs[i], len); in CeedQFunctionApply_Memcheck()
56 output_block_ids[i] = VALGRIND_CREATE_BLOCK(impl->outputs[i], len, name); in CeedQFunctionApply_Memcheck()
60 CeedCallBackend(f(ctx_data, Q, impl->inputs, impl->outputs)); in CeedQFunctionApply_Memcheck()
64 CeedCallBackend(CeedVectorRestoreArrayRead(U[i], &impl->inputs[i])); in CeedQFunctionApply_Memcheck()
83 CeedCheck(!isnan(impl->outputs[i][j]), CeedQFunctionReturnCeed(qf), CEED_ERROR_BACKEND, in CeedQFunctionApply_Memcheck()
87 CeedCallBackend(CeedVectorRestoreArray(V[i], &impl->outputs[i])); in CeedQFunctionApply_Memcheck()
99 CeedQFunction_Memcheck *impl; in CeedQFunctionDestroy_Memcheck() local
101 CeedCallBackend(CeedQFunctionGetData(qf, &impl)); in CeedQFunctionDestroy_Memcheck()
102 CeedCallBackend(CeedFree(&impl->inputs)); in CeedQFunctionDestroy_Memcheck()
103 CeedCallBackend(CeedFree(&impl->outputs)); in CeedQFunctionDestroy_Memcheck()
104 CeedCallBackend(CeedFree(&impl)); in CeedQFunctionDestroy_Memcheck()
113 CeedQFunction_Memcheck *impl; in CeedQFunctionCreate_Memcheck() local
116 CeedCallBackend(CeedCalloc(1, &impl)); in CeedQFunctionCreate_Memcheck()
117 CeedCallBackend(CeedCalloc(CEED_FIELD_MAX, &impl->inputs)); in CeedQFunctionCreate_Memcheck()
118 CeedCallBackend(CeedCalloc(CEED_FIELD_MAX, &impl->outputs)); in CeedQFunctionCreate_Memcheck()
119 CeedCallBackend(CeedQFunctionSetData(qf, impl)); in CeedQFunctionCreate_Memcheck()