Commit 176cbf03 authored by Adam Procter's avatar Adam Procter

Change copy kernel to a for loop instead of memcpy, per review comment

parent d4e64381
......@@ -23,7 +23,10 @@ namespace ngraph
template <typename T>
void copy(T* arg, T* out, size_t count)
{
memcpy(out, arg, sizeof(T) * count);
for (size_t i = 0; i < count; i++)
{
out[i] = arg[i];
}
}
}
}
......
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