From ec2434cb2aa054f84c4f2bbd5a44b77cec82c86b Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 23 Mar 2018 14:45:37 -0400 Subject: [PATCH] P4 to Git Change 1531579 by gandryey@gera-lnx-rcf on 2018/03/23 14:37:00 SWDEV-79445 - OCL generic changes and code clean-up - Remove static from the template to fix gcc compilation Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#47 edit [ROCm/clr commit: 1d513806a535bea385088eaf5126eacec0849d43] --- projects/clr/rocclr/runtime/device/pal/palkernel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/clr/rocclr/runtime/device/pal/palkernel.cpp b/projects/clr/rocclr/runtime/device/pal/palkernel.cpp index 4381baf16a..5efba941ff 100644 --- a/projects/clr/rocclr/runtime/device/pal/palkernel.cpp +++ b/projects/clr/rocclr/runtime/device/pal/palkernel.cpp @@ -875,7 +875,7 @@ void HSAILKernel::findLocalWorkSize(size_t workDim, const amd::NDRange& gblWorkS } template -inline static void WriteAqlArg( +inline void WriteAqlArg( unsigned char** dst, //!< The write pointer to the buffer const T* src, //!< The source pointer uint size, //!< The size in bytes to copy @@ -887,7 +887,7 @@ inline static void WriteAqlArg( } template <> -inline static void WriteAqlArg( +inline void WriteAqlArg( unsigned char** dst, //!< The write pointer to the buffer const uint32_t* src, //!< The source pointer uint size, //!< The size in bytes to copy @@ -899,7 +899,7 @@ inline static void WriteAqlArg( } template <> -inline static void WriteAqlArg( +inline void WriteAqlArg( unsigned char** dst, //!< The write pointer to the buffer const uint64_t* src, //!< The source pointer uint size, //!< The size in bytes to copy