Fixing/Disabling tests on nvcc path

Change-Id: I7ed4a1246943867482ff595d5f98bb25bd79074b
Этот коммит содержится в:
Jatin Chaudhary
2020-07-22 09:27:16 -04:00
коммит произвёл Jatin Chaudhary
родитель eb94afcff9
Коммит e7eaafe165
10 изменённых файлов: 30 добавлений и 13 удалений
+3 -2
Просмотреть файл
@@ -56,8 +56,6 @@ std::vector<char> load_file() {
void run(const std::vector<char>& buffer) {
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];
@@ -74,6 +72,9 @@ void run(const std::vector<char>& buffer) {
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));