From ba96b2f6c887209da2e23b9ce04df33c627fbf06 Mon Sep 17 00:00:00 2001 From: Aditya Atluri Date: Wed, 11 Jan 2017 18:09:33 -0600 Subject: [PATCH] changed copyright year from 2016 to 2017 in include directory Change-Id: Ib5935a84fb51a04b3446df31cc2287101f791b83 [ROCm/clr commit: 7dbf63dde2e19d3160257a04ac2a387b65df59b8] --- projects/clr/hipamd/include/hip/device_functions.h | 6 +++--- projects/clr/hipamd/include/hip/hcc.h | 2 +- projects/clr/hipamd/include/hip/hip_common.h | 6 +++--- projects/clr/hipamd/include/hip/hip_complex.h | 3 +-- projects/clr/hipamd/include/hip/hip_fp16.h | 2 +- projects/clr/hipamd/include/hip/hip_profile.h | 6 +++--- projects/clr/hipamd/include/hip/hip_runtime.h | 9 ++++----- projects/clr/hipamd/include/hip/hip_runtime_api.h | 2 +- projects/clr/hipamd/include/hip/hip_texture.h | 6 +++--- projects/clr/hipamd/include/hip/hip_vector_types.h | 6 +++--- 10 files changed, 23 insertions(+), 25 deletions(-) diff --git a/projects/clr/hipamd/include/hip/device_functions.h b/projects/clr/hipamd/include/hip/device_functions.h index 838bad8f0c..24211b7d2d 100644 --- a/projects/clr/hipamd/include/hip/device_functions.h +++ b/projects/clr/hipamd/include/hip/device_functions.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights @@ -26,8 +26,8 @@ THE SOFTWARE. #include #elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__) #include -#else +#else #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__"); -#endif +#endif #endif diff --git a/projects/clr/hipamd/include/hip/hcc.h b/projects/clr/hipamd/include/hip/hcc.h index dba26aeab3..9b8a649412 100644 --- a/projects/clr/hipamd/include/hip/hcc.h +++ b/projects/clr/hipamd/include/hip/hcc.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/projects/clr/hipamd/include/hip/hip_common.h b/projects/clr/hipamd/include/hip/hip_common.h index 4c75568f4d..f0e58f1f76 100644 --- a/projects/clr/hipamd/include/hip/hip_common.h +++ b/projects/clr/hipamd/include/hip/hip_common.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -25,7 +25,7 @@ THE SOFTWARE. // Common code included at start of every hip file. // Auto enable __HIP_PLATFORM_HCC__ if compiling with HCC // Other compiler (GCC,ICC,etc) need to set one of these macros explicitly -#if defined(__HCC__) +#if defined(__HCC__) #define __HIP_PLATFORM_HCC__ #define __HIPCC__ @@ -37,7 +37,7 @@ THE SOFTWARE. #endif // Auto enable __HIP_PLATFORM_NVCC__ if compiling with NVCC -#if defined(__NVCC__) +#if defined(__NVCC__) #define __HIP_PLATFORM_NVCC__ # ifdef __CUDACC__ # define __HIPCC__ diff --git a/projects/clr/hipamd/include/hip/hip_complex.h b/projects/clr/hipamd/include/hip/hip_complex.h index 0f4fb0b3d8..ea15137894 100644 --- a/projects/clr/hipamd/include/hip/hip_complex.h +++ b/projects/clr/hipamd/include/hip/hip_complex.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -31,4 +31,3 @@ THE SOFTWARE. #else #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__"); #endif - diff --git a/projects/clr/hipamd/include/hip/hip_fp16.h b/projects/clr/hipamd/include/hip/hip_fp16.h index b91063998a..2f64c1a143 100644 --- a/projects/clr/hipamd/include/hip/hip_fp16.h +++ b/projects/clr/hipamd/include/hip/hip_fp16.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/projects/clr/hipamd/include/hip/hip_profile.h b/projects/clr/hipamd/include/hip/hip_profile.h index 489143adfd..e621ae8c79 100644 --- a/projects/clr/hipamd/include/hip/hip_profile.h +++ b/projects/clr/hipamd/include/hip/hip_profile.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -32,7 +32,7 @@ THE SOFTWARE. #define HIP_BEGIN_MARKER(markerName, group) amdtBeginMarker(markerName, group, nullptr); #define HIP_END_MARKER() amdtEndMarker(); #else -#define HIP_SCOPED_MARKER(markerName, group) +#define HIP_SCOPED_MARKER(markerName, group) #define HIP_BEGIN_MARKER(markerName, group) -#define HIP_END_MARKER() +#define HIP_END_MARKER() #endif diff --git a/projects/clr/hipamd/include/hip/hip_runtime.h b/projects/clr/hipamd/include/hip/hip_runtime.h index dff1e19252..9bc45f300d 100644 --- a/projects/clr/hipamd/include/hip/hip_runtime.h +++ b/projects/clr/hipamd/include/hip/hip_runtime.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -22,7 +22,7 @@ THE SOFTWARE. //! HIP = Heterogeneous-compute Interface for Portability //! -//! Define a extremely thin runtime layer that allows source code to be compiled unmodified +//! Define a extremely thin runtime layer that allows source code to be compiled unmodified //! through either AMD HCC or NVCC. Key features tend to be in the spirit //! and terminology of CUDA, but with a portable path to other accelerators as well: // @@ -54,11 +54,10 @@ THE SOFTWARE. #include #elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__) #include -#else +#else #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__"); -#endif +#endif #include #include - diff --git a/projects/clr/hipamd/include/hip/hip_runtime_api.h b/projects/clr/hipamd/include/hip/hip_runtime_api.h index a2bfed5c69..28d67fc01a 100644 --- a/projects/clr/hipamd/include/hip/hip_runtime_api.h +++ b/projects/clr/hipamd/include/hip/hip_runtime_api.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/projects/clr/hipamd/include/hip/hip_texture.h b/projects/clr/hipamd/include/hip/hip_texture.h index 3e7802b457..66ec4a6ca1 100644 --- a/projects/clr/hipamd/include/hip/hip_texture.h +++ b/projects/clr/hipamd/include/hip/hip_texture.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -29,9 +29,9 @@ THE SOFTWARE. #include #elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__) #include -#else +#else #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__"); -#endif +#endif #endif diff --git a/projects/clr/hipamd/include/hip/hip_vector_types.h b/projects/clr/hipamd/include/hip/hip_vector_types.h index 7733d92bda..33827e4d96 100644 --- a/projects/clr/hipamd/include/hip/hip_vector_types.h +++ b/projects/clr/hipamd/include/hip/hip_vector_types.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. +Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -33,6 +33,6 @@ THE SOFTWARE. #endif #elif defined(__HIP_PLATFORM_NVCC__) && !defined (__HIP_PLATFORM_HCC__) #include -#else +#else #error("Must define exactly one of __HIP_PLATFORM_HCC__ or __HIP_PLATFORM_NVCC__"); -#endif +#endif