Skip to content
Snippets Groups Projects
Commit 3ed75e8c authored by Benjamin Halimi's avatar Benjamin Halimi Committed by Maxence Naud
Browse files

remove default values in source

parent 4657d0a9
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ cudaCopyToH_kernel(const SRC_T* srcData,
}
}
template <typename SRC_T, typename std::enable_if<!std::is_same<half_float::half, SRC_T>::value>::type* = nullptr>
template <typename SRC_T, typename std::enable_if<!std::is_same<half_float::half, SRC_T>::value>::type*>
void Aidge::thrust_copy(const SRC_T* srcData, half_float::half* dstData, size_t size)
{
cudaCopyToH_kernel<SRC_T><<<(size + 255) / 256, 256>>>
......@@ -58,7 +58,7 @@ cudaCopyFromH_kernel(const __half* srcData,
}
}
template <typename DST_T, typename std::enable_if<!std::is_same<half_float::half, DST_T>::value>::type* = nullptr>
template <typename DST_T, typename std::enable_if<!std::is_same<half_float::half, DST_T>::value>::type*>
void Aidge::thrust_copy(const half_float::half* srcData, DST_T* dstData, size_t size)
{
cudaCopyFromH_kernel<DST_T><<<(size + 255) / 256, 256>>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment