Add support for CUDA9 half semantics
Cette révision appartient à :
@@ -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
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur