aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-03-11 17:53:41 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-03-11 17:53:41 -0800
commit0423b66187fc4c9dba69ee7ab77b476171b8a12a (patch)
treeee3aaff60f4da7b017226b079d625c5396a30fb2
parent048c4d6efd34ae26cebf5a6b662d4480dfe61f0e (diff)
Use unsigned short instead of uint16_t since they're more portable
-rw-r--r--Eigen/src/Core/arch/CUDA/Half.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/CUDA/Half.h b/Eigen/src/Core/arch/CUDA/Half.h
index 419790c3e..c243dc32a 100644
--- a/Eigen/src/Core/arch/CUDA/Half.h
+++ b/Eigen/src/Core/arch/CUDA/Half.h
@@ -39,7 +39,7 @@
// Make our own __half definition that is similar to CUDA's.
struct __half {
- uint16_t x;
+ unsigned short x;
};
#endif