[nvccWarnings] Fix warnings seen with dtests on nvcc path

This commit is contained in:
Phaneendr-kumar Lanka authored and Phaneendr-kumar Lanka committed 2017-12-14 14:10:37 +05:30
1 parent 2cdfef0f19
commit eea7d495c7
11 files changed
+12 -21

No files matched your search

@@ -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
{