Lines Matching refs:max_dim

65 …                                      CeedInt *max_dim, bool *is_all_tensor, bool *use_3d_slices) {  in CeedOperatorBuildKernelData_Hip_gen()  argument
111 *max_dim = CeedIntMax(*max_dim, field_dim); in CeedOperatorBuildKernelData_Hip_gen()
143 *max_dim = CeedIntMax(*max_dim, field_dim); in CeedOperatorBuildKernelData_Hip_gen()
209 … CeedInt max_dim, CeedInt Q, CeedInt Q_1d, bool is_input, bool is_all_tensor, bool is_at_points, in CeedOperatorBuildKernelFieldData_Hip_gen() argument
229 CeedInt elem_size = 0, num_comp = 0, dim = max_dim, P_1d = 0; in CeedOperatorBuildKernelFieldData_Hip_gen()
412 … CeedInt max_dim, CeedInt Q_1d, bool is_input, bool is_all_tensor, bool is_at_points, in CeedOperatorBuildKernelRestriction_Hip_gen() argument
458 …code << tab << "ReadLVecStandard" << (is_all_tensor ? max_dim : 1) << "d<num_comp" << var_suffix <… in CeedOperatorBuildKernelRestriction_Hip_gen()
476 …code << tab << "ReadLVecStrided" << (is_all_tensor ? max_dim : 1) << "d<num_comp" << var_suffix <<… in CeedOperatorBuildKernelRestriction_Hip_gen()
507 …code << tab << "WriteLVecStandard" << (is_all_tensor ? max_dim : 1) << "d<num_comp" << var_suffix … in CeedOperatorBuildKernelRestriction_Hip_gen()
525 …code << tab << "WriteLVecStrided" << (is_all_tensor ? max_dim : 1) << "d<num_comp" << var_suffix <… in CeedOperatorBuildKernelRestriction_Hip_gen()
548 … CeedQFunctionField qf_field, CeedInt max_dim, CeedInt Q_1d, bool is_input, bool is_all_tensor, in CeedOperatorBuildKernelBasis_Hip_gen() argument
559 CeedInt dim = max_dim, elem_size = 0, num_comp = 0, P_1d = 0; in CeedOperatorBuildKernelBasis_Hip_gen()
727 …lQFunction_Hip_gen(std::ostringstream &code, CeedOperator_Hip_gen *data, Tab &tab, CeedInt max_dim, in CeedOperatorBuildKernelQFunction_Hip_gen() argument
752 … << var_suffix << "[num_comp" << var_suffix << "*" << (is_all_tensor && (max_dim >= 3) ? Q_name : … in CeedOperatorBuildKernelQFunction_Hip_gen()
759 …< "CeedScalar r_c" << var_suffix << "[num_comp" << var_suffix << "*" << (max_dim >= 3 ? Q_name : "… in CeedOperatorBuildKernelQFunction_Hip_gen()
760 …code << tab << "for (CeedInt i = 0; i < num_comp" << var_suffix << "*" << (max_dim >= 3 ? Q_name :… in CeedOperatorBuildKernelQFunction_Hip_gen()
763 … << var_suffix << "[num_comp" << var_suffix << "*" << (is_all_tensor && (max_dim >= 3) ? Q_name : … in CeedOperatorBuildKernelQFunction_Hip_gen()
770 …< "CeedScalar r_c" << var_suffix << "[num_comp" << var_suffix << "*" << (max_dim >= 3 ? Q_name : "… in CeedOperatorBuildKernelQFunction_Hip_gen()
771 …code << tab << "for (CeedInt i = 0; i < num_comp" << var_suffix << "*" << (max_dim >= 3 ? Q_name :… in CeedOperatorBuildKernelQFunction_Hip_gen()
779 << (is_all_tensor && (max_dim >= 3) ? Q_name : "1") << "];\n"; in CeedOperatorBuildKernelQFunction_Hip_gen()
825 …code << tab << "InterpAtPoints" << max_dim << "d<num_comp" << var_suffix << ", max_num_points, " <… in CeedOperatorBuildKernelQFunction_Hip_gen()
830 …code << tab << "GradAtPoints" << max_dim << "d<num_comp" << var_suffix << ", max_num_points, " << … in CeedOperatorBuildKernelQFunction_Hip_gen()
1033 if (max_dim != 3 || is_at_points || use_3d_slices || !is_all_tensor) { in CeedOperatorBuildKernelQFunction_Hip_gen()
1075 …code << tab << "InterpTransposeAtPoints" << max_dim << "d<num_comp" << var_suffix << ", max_num_po… in CeedOperatorBuildKernelQFunction_Hip_gen()
1084 …code << tab << "GradTransposeAtPoints" << max_dim << "d<num_comp" << var_suffix << ", max_num_poin… in CeedOperatorBuildKernelQFunction_Hip_gen()
1150 …CeedInt Q = 0, Q_1d = 0, num_input_fields, num_output_fields, max_dim = 1, max_num_… in CeedOperatorBuildKernel_Hip_gen() local
1238 … qf_output_fields, &max_P, &max_P_1d, &Q, &Q_1d, &max_dim, &is_all_tensor, &use_3d_slices)); in CeedOperatorBuildKernel_Hip_gen()
1253 if (max_dim == 0) max_dim = coords_dim; in CeedOperatorBuildKernel_Hip_gen()
1254 if (Q_1d == 0) max_num_points = ceil(pow(max_num_points, 1.0 / max_dim)); in CeedOperatorBuildKernel_Hip_gen()
1256 if (max_dim == 0) max_dim = 1; in CeedOperatorBuildKernel_Hip_gen()
1257 data->dim = max_dim; in CeedOperatorBuildKernel_Hip_gen()
1310 if (max_dim != 3 || is_at_points || use_3d_slices || !is_all_tensor) { in CeedOperatorBuildKernel_Hip_gen()
1358 code << tab << "const CeedInt max_dim = " << max_dim << ";\n"; in CeedOperatorBuildKernel_Hip_gen()
1377 …code << tab << "data.slice = slice + data.t_id_z*OP_T_1D" << ((!is_all_tensor || max_dim == 1) ? … in CeedOperatorBuildKernel_Hip_gen()
1487max_dim, Q, Q_1d, true, is_all_tensor, is_at_points, use_3d_slices, false)); in CeedOperatorBuildKernel_Hip_gen()
1492max_dim, Q, Q_1d, false, is_all_tensor, is_at_points, use_3d_slices, false)); in CeedOperatorBuildKernel_Hip_gen()
1514 …max_rstr_buffer_size = CeedIntMax(max_rstr_buffer_size, num_comp * (is_all_tensor && (max_dim >= 3… in CeedOperatorBuildKernel_Hip_gen()
1528 …max_rstr_buffer_size = CeedIntMax(max_rstr_buffer_size, num_comp * (is_all_tensor && (max_dim >= 3… in CeedOperatorBuildKernel_Hip_gen()
1590max_dim, Q_1d, true, is_all_tensor, is_at_points, use_3d_slices)); in CeedOperatorBuildKernel_Hip_gen()
1593 …ernelBasis_Hip_gen(code, data, tab, f, op_input_fields[f], qf_input_fields[f], max_dim, Q_1d, true, in CeedOperatorBuildKernel_Hip_gen()
1598 …CeedCallBackend(CeedOperatorBuildKernelQFunction_Hip_gen(code, data, tab, max_dim, max_num_points,… in CeedOperatorBuildKernel_Hip_gen()
1611 …elBasis_Hip_gen(code, data, tab, i, op_output_fields[i], qf_output_fields[i], max_dim, Q_1d, false, in CeedOperatorBuildKernel_Hip_gen()
1615 …triction_Hip_gen(code, data, tab, i, NULL, op_output_fields[i], qf_output_fields[i], max_dim, Q_1d, in CeedOperatorBuildKernel_Hip_gen()
1631 …CeedCallBackend(BlockGridCalculate_Hip_gen(is_all_tensor ? max_dim : 1, num_elem, data->max_P_1d, … in CeedOperatorBuildKernel_Hip_gen()
1658 …CeedInt Q, Q_1d, num_input_fields, num_output_fields, max_dim = 1, max_num_points =… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen() local
1676 max_dim = data->dim; in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1754 code << tab << "const CeedInt max_dim = " << max_dim << ";\n"; in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1766 …code << tab << "data.slice = slice + data.t_id_z*OP_T_1D" << ((!is_all_tensor || max_dim == 1) ? … in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1845max_dim, Q, Q_1d, true, is_all_tensor, is_at_points, use_3d_slices, false)); in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1850max_dim, Q, Q_1d, false, is_all_tensor, is_at_points, use_3d_slices, false)); in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1872 …max_rstr_buffer_size = CeedIntMax(max_rstr_buffer_size, num_comp * (is_all_tensor && (max_dim >= 3… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1886 …max_rstr_buffer_size = CeedIntMax(max_rstr_buffer_size, num_comp * (is_all_tensor && (max_dim >= 3… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1963 …< "CeedScalar r_e" << var_suffix << "[num_comp" << var_suffix << "*" << (max_dim >= 3 ? "P_1d" + v… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1971max_dim, Q_1d, true, is_all_tensor, is_at_points, use_3d_slices)); in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1974 …ernelBasis_Hip_gen(code, data, tab, f, op_input_fields[f], qf_input_fields[f], max_dim, Q_1d, true, in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1984 …<< (max_dim > 1 ? "*P_1d" + active_var_suffix : "") << (max_dim > 2 ? "*P_1d" + active_var_suffix … in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
1989 …code << tab << "SetEVecStandard" << max_dim << "d_Single<num_comp" << active_var_suffix << ", P_1d… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2010 …ernelBasis_Hip_gen(code, data, tab, f, op_input_fields[f], qf_input_fields[f], max_dim, Q_1d, true, in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2015 …CeedCallBackend(CeedOperatorBuildKernelQFunction_Hip_gen(code, data, tab, max_dim, max_num_points,… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2038 …elBasis_Hip_gen(code, data, tab, i, op_output_fields[i], qf_output_fields[i], max_dim, Q_1d, false, in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2053 …code << tab << "WriteLVecStandard" << max_dim << "d_Assembly<num_comp" << var_suffix << ", comp_st… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2067 …code << tab << "WriteLVecStandard" << max_dim << "d_Single<num_comp" << var_suffix << ", comp_stri… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2075 …code << tab << "SetEVecStandard" << max_dim << "d_Single<num_comp" << active_var_suffix << ", P_1d… in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2094 CeedCallBackend(BlockGridCalculate_Hip_gen(max_dim, num_elem, data->max_P_1d, Q_1d, block_sizes)); in CeedOperatorBuildKernelAssemblyAtPoints_Hip_gen()
2129 …CeedInt Q, Q_1d, num_input_fields, num_output_fields, max_dim = 1, max_num_points =… in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen() local
2200 max_dim = data->dim; in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2229 if (max_dim != 3 || is_at_points || use_3d_slices || !is_all_tensor) { in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2288 code << tab << "const CeedInt max_dim = " << max_dim << ";\n"; in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2303 …code << tab << "data.slice = slice + data.t_id_z*OP_T_1D" << ((!is_all_tensor || max_dim == 1) ? … in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2413max_dim, Q, Q_1d, true, is_all_tensor, is_at_points, use_3d_slices, true)); in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2418max_dim, Q, Q_1d, false, is_all_tensor, is_at_points, use_3d_slices, true)); in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2440 …max_rstr_buffer_size = CeedIntMax(max_rstr_buffer_size, num_comp * (is_all_tensor && (max_dim >= 3… in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2454 …max_rstr_buffer_size = CeedIntMax(max_rstr_buffer_size, num_comp * (is_all_tensor && (max_dim >= 3… in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2536 << (is_all_tensor && (max_dim >= 3) ? "Q_1d" : "1") << "] = {0.};\n"; in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2538 …calar r_q_in_" << f << "[num_comp_in_" << f << "*" << (is_all_tensor && (max_dim >= 3) ? "Q_1d" : … in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2544max_dim, Q_1d, true, is_all_tensor, is_at_points, use_3d_slices)); in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2547 …ernelBasis_Hip_gen(code, data, tab, f, op_input_fields[f], qf_input_fields[f], max_dim, Q_1d, true, in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2607 if (is_all_tensor && (max_dim >= 3)) { in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2614 …CeedCallBackend(CeedOperatorBuildKernelQFunction_Hip_gen(code, data, tab, max_dim, max_num_points,… in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2641 …code << tab << "WriteLVecStandard" << (is_all_tensor ? max_dim : 1) << "d_QFAssembly<total_size_ou… in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2649 if (is_all_tensor && (max_dim >= 3)) { in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()
2676 CeedCallBackend(BlockGridCalculate_Hip_gen(max_dim, num_elem, data->max_P_1d, Q_1d, block_sizes)); in CeedOperatorBuildKernelLinearAssembleQFunction_Hip_gen()