Skip to content

Commit

Permalink
more explicit template instantiations
Browse files Browse the repository at this point in the history
  • Loading branch information
williamberman committed Nov 3, 2022
1 parent 0bf5e99 commit 0ad6d3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/runtime/hip_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,10 @@ template __global__ void
add_kernel<float>(float *dst, float const *src, size_t size);
template __global__ void
add_kernel<double>(double *dst, double const *src, size_t size);
template __global__ void
add_kernel<int>(int *dst, int const *src, size_t size);
template __global__ void
add_kernel<long>(long *dst, long const *src, size_t size);

template __global__ void
copy_kernel<float>(float *dst, float const *src, coord_t size);
Expand Down

0 comments on commit 0ad6d3a

Please sign in to comment.