From 8fdf04a64b7725e5b6953fd18eea8a5a7cb01d67 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Thu, 14 Apr 2016 09:17:13 -0500 Subject: [PATCH] Enabling make_* device code [ROCm/clr commit: 12e24f48161a0f24ea9810a1ee3ae39d3b1aef6a] --- projects/clr/hipamd/include/hcc_detail/hip_vector_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clr/hipamd/include/hcc_detail/hip_vector_types.h b/projects/clr/hipamd/include/hcc_detail/hip_vector_types.h index 50030e4756..f18bad8b89 100644 --- a/projects/clr/hipamd/include/hcc_detail/hip_vector_types.h +++ b/projects/clr/hipamd/include/hcc_detail/hip_vector_types.h @@ -115,7 +115,7 @@ typedef hc::short_vector::double2 double2; typedef hc::short_vector::double3 double3; typedef hc::short_vector::double4 double4; -/* + ///--- // Inline functions for creating vector types from basic types #define ONE_COMPONENT_ACCESS(T, VT) inline VT make_ ##VT (T x) { VT t; t.x = x; return t; }; @@ -198,7 +198,7 @@ ONE_COMPONENT_ACCESS (double, double1); TWO_COMPONENT_ACCESS (double, double2); THREE_COMPONENT_ACCESS(double, double3); FOUR_COMPONENT_ACCESS (double, double4); -*/ + #endif