[arrayfire] 292/408: fix #957: remove unused dtype trait for size_t
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:12:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.
commit 1580652ddc1d18a7562a3a933126656f0a161a6d
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Wed Aug 19 19:42:30 2015 +0100
fix #957: remove unused dtype trait for size_t
---
src/backend/opencl/traits.hpp | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/backend/opencl/traits.hpp b/src/backend/opencl/traits.hpp
index c483fbf..4e63095 100644
--- a/src/backend/opencl/traits.hpp
+++ b/src/backend/opencl/traits.hpp
@@ -31,16 +31,6 @@ struct dtype_traits<cl_double2> {
static const char* getName() { return "double2"; }
};
-#if !defined(OS_WIN) // Windows defines size_t as ulong
-template<>
-struct dtype_traits<size_t> {
- static const char* getName()
- {
- return (sizeof(size_t) == 8) ? "ulong" : "uint";
- }
-};
-#endif
-
template<typename T> static bool iscplx() { return false; }
template<> STATIC_ bool iscplx<cl_float2>() { return true; }
template<> STATIC_ bool iscplx<cl_double2>() { return true; }
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list