[nvccWarnings] Fix warnings seen with dtests on nvcc path

[ROCm/clr commit: 0ac125e3db]
This commit is contained in:
Phaneendr-kumar Lanka
2017-12-13 12:32:16 +05:30
committed by Phaneendr-kumar Lanka
parent 3317761c7a
commit 033e2cde33
11 changed files with 12 additions and 21 deletions
@@ -192,8 +192,6 @@ HostMemory<T>::~HostMemory ()
free(A_hh);
free(B_hh);
}
T *A_hh = NULL;
T *B_hh = NULL;
};
@@ -32,7 +32,6 @@ THE SOFTWARE.
int main()
{
hipDevice_t device;
size_t Nbytes = N*sizeof(int);
int numDevices = 0;
int *A_d, *B_d, *C_d, *X_d, *Y_d, *Z_d;
@@ -188,7 +188,6 @@ int main(int argc, char *argv[])
{
HipTest::parseStandardArguments(argc, argv, true);
int numElements = N;
int dev0 = 0;
int dev1 = 1;