Commit e2313c9e authored by Chao Liu's avatar Chao Liu
Browse files

tidy up

parent e6c86f81
...@@ -62,10 +62,9 @@ __host__ __device__ constexpr T min(T x, Ts... xs) ...@@ -62,10 +62,9 @@ __host__ __device__ constexpr T min(T x, Ts... xs)
return x < y ? x : y; return x < y ? x : y;
} }
}// namespace mod_conv } // namespace mod_conv
#if DEVICE_BACKEND_HIP #if DEVICE_BACKEND_HIP
// cast a pointer of LDS to its address // cast a pointer of LDS to its address
extern "C" __attribute__((address_space(3))) void* __to_local(void* p)[[hc]]; extern "C" __attribute__((address_space(3))) void* __to_local(void* p)[[hc]];
#endif #endif
...@@ -36,7 +36,10 @@ template <index_t GridSize, ...@@ -36,7 +36,10 @@ template <index_t GridSize,
index_t WeiBlockCopyDataPerRead> index_t WeiBlockCopyDataPerRead>
struct GridwiseConvolutionImplicitGemm_v2_chwn_cyxk_khwn_lds_double_buffer struct GridwiseConvolutionImplicitGemm_v2_chwn_cyxk_khwn_lds_double_buffer
{ {
__host__ __device__ constexpr GridwiseConvolutionImplicitGemm_v2_chwn_cyxk_khwn_lds_double_buffer() {} __host__
__device__ constexpr GridwiseConvolutionImplicitGemm_v2_chwn_cyxk_khwn_lds_double_buffer()
{
}
__device__ void Run(const Float* const __restrict__ p_in_global, __device__ void Run(const Float* const __restrict__ p_in_global,
const Float* const __restrict__ p_wei_global, const Float* const __restrict__ p_wei_global,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment