__CUDA_DEPRECATED __host__
时间: 2023-07-31 13:11:20 浏览: 135
__CUDA_DEPRECATED __host__是一个CUDA的宏定义,用于标记一个函数已经被弃用。在你提供的引用中,警告信息指出cudaThreadSynchronize()函数已经被弃用。这意味着在未来的CUDA版本中,该函数可能会被移除或替换为其他函数。因此,在编译时会出现警告信息。\[1\]
#### 引用[.reference_title]
- *1* [CUDA(Ⅹ):CUDA Code Error总结贴](https://blog.csdn.net/qq_24990189/article/details/89712278)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [cmake+opencv4.1+opencv_contrib4.1+CUDA以及CUDA11.x的NPP新模块watershedSegmentation](https://blog.csdn.net/wd1603926823/article/details/105710624)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文