From cd88d9b8dad58a40f0d5680e8386190472e607a3 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Sun, 3 Oct 2010 21:07:58 -0800 Subject: moving some CUDA API centric code to cuda_runtime_api.cc [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7811] --- src/gpgpusim_entrypoint.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gpgpusim_entrypoint.cc') diff --git a/src/gpgpusim_entrypoint.cc b/src/gpgpusim_entrypoint.cc index fe5d112..4f5cffe 100644 --- a/src/gpgpusim_entrypoint.cc +++ b/src/gpgpusim_entrypoint.cc @@ -156,12 +156,11 @@ void print_simulation_time() fflush(stdout); } -int gpgpu_cuda_ptx_sim_main_perf( const char *kernel_key, +int gpgpu_cuda_ptx_sim_main_perf( kernel_info_t grid, struct dim3 gridDim, struct dim3 blockDim, gpgpu_ptx_sim_arg_list_t grid_params ) { - kernel_info_t grid = gpgpu_cuda_ptx_sim_init_grid(kernel_key,grid_params,gridDim,blockDim); g_the_gpu.launch(grid); sem_post(&g_sim_signal_start); sem_wait(&g_sim_signal_finish); -- cgit v1.3