Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否在cuda编程中直接使用brpc ? #2750

Closed
knightXun opened this issue Aug 30, 2024 · 4 comments
Closed

能否在cuda编程中直接使用brpc ? #2750

knightXun opened this issue Aug 30, 2024 · 4 comments

Comments

@knightXun
Copy link

能否在cuda编程中直接使用brpc ?如果可以能否提供一份 demo

@jamesge
Copy link
Contributor

jamesge commented Aug 30, 2024

cuda代码的host部分就是常规c++程序,应该是可以用的,不过cuda编译器是nvcc,可能会有一些warning或error要处理。

@knightXun
Copy link
Author

knightXun commented Aug 30, 2024

cuda代码的host部分就是常规c++程序,应该是可以用的,不过cuda编译器是nvcc,可能会有一些warning或error要处理。

能提供一些demo么?
抱歉我补充一下:gpu侧使用 brpc ,brpc 接收端能不能直接把接受的内容放到 cuda 显存中?

@Huixxi
Copy link
Contributor

Huixxi commented Nov 9, 2024

没有这方面的使用demo,可以尝试一下,最好能同步一下验证结果~

@knightXun
Copy link
Author

没有这方面的使用demo,可以尝试一下,最好能同步一下验证结果~
已解决,多谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants