 /* matrix size and thread dimensions */
 
 #define SIZE 1024
-#define THREAD_X 16
-#define THREAD_Y 16
+#define THREADS_PER_BLOCK_X 16
+#define THREADS_PER_BLOCK_Y 16
 
 /* naive GPU kernel where each element of C is computed by a single thread */
 

 *  limitations under the License.
 */

#ifdef DEBUG
#define CUDA_CALL(F)  if( (F) != cudaSuccess ) \
  {printf("Error %s at %s:%d\n", cudaGetErrorString(cudaGetLastError()), \

#define CUDA_CHECK() 
#endif

/* macro for index calculations */

#define INDX( row, col, ld ) ( ( (col) * (ld) ) + (row) )
