Skip to content
Merged
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
3 changes: 2 additions & 1 deletion src/gpuarray_collectives_cuda_nccl.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,12 @@ static inline ncclDataType_t convert_data_type(int typecode) {
switch (typecode) {
case GA_BYTE: return ncclChar;
case GA_INT: return ncclInt;
case GA_HALF: return ncclHalf;
case GA_FLOAT: return ncclFloat;
case GA_DOUBLE: return ncclDouble;
case GA_LONG: return ncclInt64;
case GA_ULONG: return ncclUint64;
case GA_HALF: return ncclHalf;
case GA_FLOAT16: return ncclHalf;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GA_FLOAT16 means a vector of 16 floats. This is horribly inaccurate.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had asked on #411 about the types. Excuse me for the inconvenience.

}
return nccl_NUM_TYPES;
}
Expand Down