Fixing/Disabling tests on nvcc path

Change-Id: I7ed4a1246943867482ff595d5f98bb25bd79074b
Этот коммит содержится в:
Jatin Chaudhary
2020-07-22 09:27:16 -04:00
коммит произвёл Jatin Chaudhary
родитель b0438e6e99
Коммит d251c2db57
10 изменённых файлов: 30 добавлений и 13 удалений
+3 -2
Просмотреть файл
@@ -60,8 +60,6 @@ void run(const std::vector<char>& buffer, int deviceNo) {
hipSetDevice(deviceNo);
hipModule_t Module;
hipFunction_t Function;
HIPCHECK(hipModuleLoadData(&Module, &buffer[0]));
HIPCHECK(hipModuleGetFunction(&Function, Module, kernel_name));
float *A, *B, *Ad, *Bd;
A = new float[LEN];
@@ -78,6 +76,9 @@ void run(const std::vector<char>& buffer, int deviceNo) {
HIPCHECK(hipMemcpy(Ad, A, SIZE, hipMemcpyHostToDevice));
HIPCHECK(hipMemcpy(Bd, B, SIZE, hipMemcpyHostToDevice));
HIPCHECK(hipModuleLoadData(&Module, &buffer[0]));
HIPCHECK(hipModuleGetFunction(&Function, Module, kernel_name));
hipStream_t stream;
HIPCHECK(hipStreamCreate(&stream));