Add support for CUDA9 half semantics

Cette révision appartient à :
Sylvain Jeaugey
2017-06-07 09:57:12 -07:00
Parent ccfc4567dc
révision 29a1a916dc
3 fichiers modifiés avec 28 ajouts et 24 suppressions
+1 -3
Voir le fichier
@@ -24,9 +24,7 @@ struct FuncPassA<half> {
return x;
}
__device__ half operator()(const half x, const half y) const {
half r;
r.x = x.x;
return r;
return x;
}
};
#endif