0
cudaEvent是否与CUDA上下文相关?在调用cudaEventCreate或cudaEventDestroy之前,我们是否需要调用cudaSetDevice?cudaEvent设备是否特定?
我知道可以在另一台设备上调用cudaStreamWaitEvent。
但是我们可以在创建事件的设备之外的其他设备上调用cudaEventRecord或cudaEventDestroy吗?
cudaEvent是否与CUDA上下文相关?在调用cudaEventCreate或cudaEventDestroy之前,我们是否需要调用cudaSetDevice?cudaEvent设备是否特定?
我知道可以在另一台设备上调用cudaStreamWaitEvent。
但是我们可以在创建事件的设备之外的其他设备上调用cudaEventRecord或cudaEventDestroy吗?
非常感谢,我正在查看cudaEvents的文档并且什么都没找到。 – 2014-09-24 06:14:54