Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split explicit instantiation of 'ArrayData' and 'Array2Data' in several files #1873

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions arcane/src/arcane/core/datatype/DataTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,20 +197,32 @@ enum eTraceType
} // End namespace Arcane

// Macro pour instantier une classe template pour tous les types numériques
#define ARCANE_INTERNAL_INSTANTIATE_TEMPLATE_FOR_NUMERIC_DATATYPE(class_name)\
#define ARCANE_INTERNAL_INSTANTIATE_TEMPLATE_FOR_NUMERIC_DATATYPE1(class_name)\
template class class_name <Real>;\
template class class_name <Real3>;\
template class class_name <Real3x3>;\
template class class_name <Real2>;\
template class class_name <Real2x2>;\
template class class_name <BFloat16>;\
template class class_name <Float16>;\
template class class_name <Float32>;\
template class class_name <Real2x2>;

// Macro pour instantier une classe template pour tous les types numériques
#define ARCANE_INTERNAL_INSTANTIATE_TEMPLATE_FOR_NUMERIC_DATATYPE2(class_name)\
template class class_name <Int8>;\
template class class_name <Int16>;\
template class class_name <Int32>;\
template class class_name <Int64>;\
template class class_name <Byte>;
template class class_name <Byte>

// Macro pour instantier une classe template pour tous les types numériques
#define ARCANE_INTERNAL_INSTANTIATE_TEMPLATE_FOR_NUMERIC_DATATYPE3(class_name)\
template class class_name <BFloat16>;\
template class class_name <Float16>;\
template class class_name <Float32>;

// Macro pour instantier une classe template pour tous les types numériques
#define ARCANE_INTERNAL_INSTANTIATE_TEMPLATE_FOR_NUMERIC_DATATYPE(class_name)\
ARCANE_INTERNAL_INSTANTIATE_TEMPLATE_FOR_NUMERIC_DATATYPE1(class_name);\
ARCANE_INTERNAL_INSTANTIATE_TEMPLATE_FOR_NUMERIC_DATATYPE2(class_name);\
ARCANE_INTERNAL_INSTANTIATE_TEMPLATE_FOR_NUMERIC_DATATYPE3(class_name)

/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
Expand Down
Loading
Loading