D | main.c | 293 cuda(Malloc(&random_d,size_hi_in)); in hs_bench() 294 cuda(Malloc(&vin_d, size_hi_in)); in hs_bench() 295 cuda(Malloc(&vout_d, size_hi_out)); in hs_bench() 306 cuda(Memcpy(random_d,random_h,size_hi_in,cudaMemcpyHostToDevice)); in hs_bench() 342 cuda(EventCreate(&start)); in hs_bench() 343 cuda(EventCreate(&end)); in hs_bench() 352 cuda(Memcpy(vin_d,random_d,count*key_size,cudaMemcpyDeviceToDevice)); in hs_bench() 370 cuda(EventRecord(start,stream0)); in hs_bench() 371 cuda(StreamWaitEvent(stream1,start,0)); in hs_bench() 372 cuda(StreamWaitEvent(stream2,start,0)); in hs_bench() [all …]
|