visual studio 2008 - Could I use CUDA timer event to compute two kernel time separately in one file? -
i create 2 pairs of start , stop event hoping record 2 kernels' time. this:
fatal error lnk1120: 1 unresolved externals
the cuda best practices guide, s 2.1.2, using cuda gpu timers doesn't talk how record 2 kernels' time in 1 program.
as said in comments linker error unrelated recorded events. make sure compile nvcc
, make sure got cuda toolkit installed, make sure file pathes correct , published. see simplest cuda wrapper beginners how started.
if need more information on how cudaevents work (with example code) see cuda: cudaevent_t , cudathreadsynchronize usage
Comments
Post a Comment