From f5dff37b8b545fb131a9fcd0bde3fdc59d43d7b6 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Fri, 16 Jun 2017 09:02:26 -0500 Subject: [PATCH] removed bad copy constructor Change-Id: I661991d9d43941a61848b0b8e9879c0bfa811b40 [ROCm/hip commit: 64bb8d154a9ca093a93b8c945a469d1ac1686c66] --- projects/hip/include/hip/hcc_detail/hip_vector_types.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/projects/hip/include/hip/hcc_detail/hip_vector_types.h b/projects/hip/include/hip/hcc_detail/hip_vector_types.h index 9da34d9f32..93c82cc0cb 100644 --- a/projects/hip/include/hip/hcc_detail/hip_vector_types.h +++ b/projects/hip/include/hip/hcc_detail/hip_vector_types.h @@ -36,25 +36,21 @@ THE SOFTWARE. #define MAKE_DEFAULT_CONSTRUCTOR_ONE_COMPONENT(type) \ __device__ __host__ type() {} \ -__device__ __host__ type(type& val) : x(val.x) { } \ __device__ __host__ type(const type& val) : x(val.x) { } \ __device__ __host__ ~type() {} #define MAKE_DEFAULT_CONSTRUCTOR_TWO_COMPONENT(type) \ __device__ __host__ type() {} \ -__device__ __host__ type(type& val) : x(val.x), y(val.y) { } \ __device__ __host__ type(const type& val) : x(val.x), y(val.y) { } \ __device__ __host__ ~type() {} #define MAKE_DEFAULT_CONSTRUCTOR_THREE_COMPONENT(type) \ __device__ __host__ type() {} \ -__device__ __host__ type(type& val) : x(val.x), y(val.y), z(val.z) { } \ __device__ __host__ type(const type& val) : x(val.x), y(val.y), z(val.z) { } \ __device__ __host__ ~type() {} #define MAKE_DEFAULT_CONSTRUCTOR_FOUR_COMPONENT(type) \ __device__ __host__ type() {} \ -__device__ __host__ type(type& val) : x(val.x), y(val.y), z(val.z), w(val.w) { } \ __device__ __host__ type(const type& val) : x(val.x), y(val.y), z(val.z), w(val.w) { } \ __device__ __host__ ~type() {}