Commit 0a86e369 authored by Khalique's avatar Khalique
Browse files

change to inline function

parent 533796d6
......@@ -7,7 +7,7 @@ namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {
namespace op {
size_t calculate_padding(size_t weight_dim, size_t dilation)
inline size_t calculate_padding(size_t weight_dim, size_t dilation)
{
return (dilation * (weight_dim - 1)) / 2;
}
......
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