[nvccWarnings] Fix warnings seen with dtests on nvcc path

This commit is contained in:
Phaneendr-kumar Lanka
2017-12-13 12:32:16 +05:30
committed by Phaneendr-kumar Lanka
parent 2cdfef0f19
commit eea7d495c7
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;
@@ -27,7 +27,10 @@ THE SOFTWARE.
#include "hip/hip_runtime.h"
#include "test_common.h"
#ifdef __HIP_PLATFORM_HCC__
#define HIPRT_CB
#endif
class CallbackClass
{