[hip] Fix volatile-qualified member function declartion.

- It should be a volatile-qualified member function instead of returning
  volatile type.

Change-Id: Id7aaa1953d56151b59e469ef22b9f4280f63bebb


[ROCm/hip commit: a48b312aa9]
Tá an tiomantas seo le fáil i:
Michael LIAO tiomanta 2020-04-07 12:49:26 -04:00
1 tuismitheoir c0f137cfcf
tiomantas c34599e77c
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -229,7 +229,7 @@ THE SOFTWARE.
__host__ __device__
operator __half_raw() const { return __half_raw{data}; }
__host__ __device__
operator volatile __half_raw() const volatile
operator __half_raw() const volatile
{
return __half_raw{data};
}