diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/lhiputil.h b/lhiputil.h index 4e44b6f..899584b 100644 --- a/lhiputil.h +++ b/lhiputil.h @@ -8,8 +8,8 @@ #define _HIPUTIL_H_ #include -#include -#include +#include +#include #define CUDA_SAFE_CALL( call) { \ hipError_t err = call; \ diff --git a/main-hip-ro.cpp b/main-hip-ro.cpp index 3be093d..89ec86e 100644 --- a/main-hip-ro.cpp +++ b/main-hip-ro.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include "lhiputil.h" #include "mix_kernels_hip.h" @@ -31,7 +31,7 @@ int main(int argc, char* argv[]) { hipMemGetInfo(&freeCUDAMem, &totalCUDAMem); printf("Total GPU memory %lu, free %lu\n", totalCUDAMem, freeCUDAMem); printf("Buffer size: %dMB\n", datasize/(1024*1024)); - + double *c; c = (double*)malloc(datasize); init_vector(c, VECTOR_SIZE); diff --git a/main-hip.cpp b/main-hip.cpp index 8c4b6ef..f300e7a 100644 --- a/main-hip.cpp +++ b/main-hip.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include "lhiputil.h" #include "mix_kernels_hip.h" @@ -31,7 +31,7 @@ int main(int argc, char* argv[]) { hipMemGetInfo(&freeCUDAMem, &totalCUDAMem); printf("Total GPU memory %lu, free %lu\n", totalCUDAMem, freeCUDAMem); printf("Buffer size: %dMB\n", datasize/(1024*1024)); - + double *c; c = (double*)malloc(datasize); init_vector(c, VECTOR_SIZE); diff --git a/mix_kernels_cuda_ro.cu b/mix_kernels_cuda_ro.cu old mode 100755 new mode 100644 diff --git a/mix_kernels_hip.cpp b/mix_kernels_hip.cpp index 835fe69..c474bed 100644 --- a/mix_kernels_hip.cpp +++ b/mix_kernels_hip.cpp @@ -4,7 +4,7 @@ * Contact: Elias Konstantinidis **/ -#include "hip_runtime.h" +#include "hip/hip_runtime.h" #include #ifdef __CUDACC__ diff --git a/mix_kernels_hip_ro.cpp b/mix_kernels_hip_ro.cpp index 84fa55b..349aef8 100644 --- a/mix_kernels_hip_ro.cpp +++ b/mix_kernels_hip_ro.cpp @@ -4,7 +4,7 @@ * Contact: Elias Konstantinidis **/ -#include "hip_runtime.h" +#include "hip/hip_runtime.h" #include #ifdef __CUDACC__ #include diff --git a/mix_kernels_ocl_ro.cpp b/mix_kernels_ocl_ro.cpp old mode 100755 new mode 100644 diff --git a/mix_kernels_ocl_ro.h b/mix_kernels_ocl_ro.h old mode 100755 new mode 100644 diff --git a/mix_kernels_ro.cl b/mix_kernels_ro.cl old mode 100755 new mode 100644