Updating vcopy src to avoid compilation warnings with ROCm 6.x like the following:
vcopy.cpp:173:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
hipDeviceSynchronize();
^~~~~~~~~~~~~~~~~~~~
vcopy.cpp:178:7: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
hipDeviceSynchronize();
^~~~~~~~~~~~~~~~~~~~
2 warnings generated when compiling for gfx90a.
vcopy.cpp:173:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
hipDeviceSynchronize();
^~~~~~~~~~~~~~~~~~~~
vcopy.cpp:178:7: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
hipDeviceSynchronize();
^~~~~~~~~~~~~~~~~~~~
Updating vcopy src to avoid compilation warnings with ROCm 6.x like the following: