Skip to content
Open
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
1 change: 1 addition & 0 deletions include/CombBLAS/MPIType.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ template<> MPI_Datatype MPIType< float >( void );
template<> MPI_Datatype MPIType< double >( void );
template<> MPI_Datatype MPIType< long double >( void );
template<> MPI_Datatype MPIType< bool >( void );
template<> MPI_Datatype MPIType< long long>(void);



Expand Down
2 changes: 1 addition & 1 deletion include/CombBLAS/csc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Csc<IT, NT>::Split (Csc<IT, NT> * &A,
B = new Csc<IT, NT>(nz - jc[cut], n - cut);
std::copy(jc + cut, jc + n + 1, B->jc);
auto jccut = jc[cut];
transform(B->jc, B->jc + (n - cut + 1), B->jc,
std::transform(B->jc, B->jc + (n - cut + 1), B->jc,
[jccut](IT val) { return val - jccut; }
);
std::copy(ir + jc[cut], ir + nz, B->ir);
Expand Down
4 changes: 4 additions & 0 deletions src/MPIType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,9 @@ template<> MPI_Datatype MPIType< bool >( void )
{
return MPI_BYTE; // usually #define MPI_BOOL MPI_BYTE anyway
};
template<> MPI_Datatype MPIType< long long>( void )
{
return MPI_LONG_LONG;
};

}