diff --git a/02-beginners/dot-product/.config/dot-product.c b/02-beginners/dot-product/.config/dot-product.c index 30e0388240d4b74b2701195bd618901cf9d3876a..8bff97b50d533abf369d6549239580787eb0ba05 100644 --- a/02-beginners/dot-product/.config/dot-product.c +++ b/02-beginners/dot-product/.config/dot-product.c @@ -38,7 +38,7 @@ double dot_product (long N, long CHUNK_SIZE, double A[N], double B[N]) C[j]+= A[i+ii] * B[i+ii]; } - // OMPSS: This task depends on an single element of C and will resultumulate the result on result. + // OMPSS: This task depends on an single element of C and will accumulate the results on 'result'. #pragma omp task label( increment ) firstprivate( j ) in( C[j;1] ) commutative( result ) result += C[j]; diff --git a/02-beginners/dot-product/dot-product.c b/02-beginners/dot-product/dot-product.c index 38dc761fe77ace66227506a87f6d4439b8fa16d5..18179440536c58e382a61bcab0a20e27ec4fac03 100644 --- a/02-beginners/dot-product/dot-product.c +++ b/02-beginners/dot-product/dot-product.c @@ -38,7 +38,7 @@ double dot_product (long N, long CHUNK_SIZE, double A[N], double B[N]) C[j]+= A[i+ii] * B[i+ii]; } - // OMPSS: This task depends on an single element of C and will accumulate it on result. + // OMPSS: This task depends on an single element of C and will accumulate the results on 'result'. #pragma omp task label( increment ) firstprivate( j ) result += C[j]; diff --git a/03-gpu-devices/cholesky-cuda/.config/cuda_potrf.h b/03-gpu-devices/cholesky-cuda/.config/cuda_potrf.h deleted file mode 100644 index 3c81fd2836459bde1946cd7d97dbe0004ce51e2f..0000000000000000000000000000000000000000 --- a/03-gpu-devices/cholesky-cuda/.config/cuda_potrf.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef _CUDA_POTRF_H_ -#define _CUDA_POTRF_H_ - -#include - -#ifdef __cplusplus -extern "C"{ -#endif - -int -cuda_dpotrf(cublasHandle_t handle, char uplo, int n, - double *dA, int ldda, int *info); - -int -cuda_spotrf(cublasHandle_t handle, char uplo, int n, - float *dA, int ldda, int *info); - -#ifdef __cplusplus -} -#endif - -#endif // _CUDA_POTRF_H_ \ No newline at end of file diff --git a/03-gpu-devices/nbody-cuda/.config/nbody.h b/03-gpu-devices/nbody-cuda/.config/nbody.h deleted file mode 100644 index fad95af9bb2fccf438680ed5b7dc6eaad494b9e4..0000000000000000000000000000000000000000 --- a/03-gpu-devices/nbody-cuda/.config/nbody.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef nbody_h -#define nbody_h - -#define gravitational_constant 6.6726e-11 /* N(m/kg)2 */ - -typedef struct { - float position_x; /* m */ - float position_y; /* m */ - float position_z; /* m */ - float velocity_x; /* m/s */ - float velocity_y; /* m/s */ - float velocity_z; /* m/s */ - float mass; /* kg */ - float pad; -} Particle; - -#endif /* #ifndef nbody_h */ -