  */
 template <typename dtype>
 void offload_ptr<dtype>::upload(dtype const * host_ptr){
+  TAU_FSTART(cuda_upload);
   cudaError_t err = cudaMemcpy(dev_ptr, host_ptr, size*sizeof(dtype),
                                cudaMemcpyHostToDevice);
+  TAU_FSTOP(cuda_upload);
   LIBT_ASSERT(err == cudaSuccess);
 }
 

                  dtype                 beta,
                  offload_ptr<dtype> &  C,
                  int                   lda_C){
  offload_gemm(tA, tB, m, n, k, alpha, A.dev_ptr, lda_A, B.dev_ptr, lda_B, beta, C.dev_ptr, lda_C);
}
template 
void offload_gemm(char                  tA,

#include <stdio.h>
//#include "../shared/util.h"
#include "device_launch_parameters.h"
#include "util.h"
#include "offload.h"

int initialized = 0;
