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

Re: 提供 RTX4090 使用 opencl_vanity_gpg 的部分性能数据 #1

Closed
TransparentLC opened this issue Mar 18, 2025 · 1 comment
Closed

Comments

@TransparentLC
Copy link

不知道为什么无法向你回复邮件,只能通过这种方式联系了 :(

Delivery to [[email protected]](mailto:[email protected]) failed with error: SMTP error 554: mx02.mail.icloud.com. said: Blocked - see https://support.proofpoint.com/dnsbl-lookup.cgi?ip=xxx.xxx.xxx.xxx

Last-Attempt-Date: Tue, 18 Mar 2025 23:13:38 +0800
Arrival-Date: Tue, 18 Mar 2025 23:13:38 +0800
X-Maddy-Msgid: c7d75dba
X-Maddy-Sender: rfc822; [[email protected]](mailto:[email protected])
Reporting-Mta: dns; mx1.akarin.dev

Diagnostic-Code: smtp; 554 5.0.0 mx02.mail.icloud.com. said: Blocked - see
 https://support.proofpoint.com/dnsbl-lookup.cgi?ip=xxx.xxx.xxx.xxx
Status: 5.0.0
Action: failed
Final-Recipient: rfc822; [[email protected]](mailto:[email protected])

以下是本来打算回复的邮件内容,你收到以后可以删除这个 issue:


感谢提供性能数据,我已经补充到 README 了~

希望可以在检测到机器上没有 OpenCL 环境的时候提示一下配置,而不是冷冰冰的 Rust Panic

如果没有 OpenCL 环境的话应该会出现以下两种结果?

error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory

这种情况需要自己用包管理器安装。

thread 'main' panicked at .../ocl-0.19.7/src/standard/platform.rs:49:38:
Platform::list: Error retrieving platform list: ApiWrapper(GetPlatformIdsPlatformListUnavailable(10))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

运行的时候会先使用 ocl::Platform::list() 获取可用的设备,但是这个 method 里面就已经用 .expect("Platform::list: Error retrieving platform list") 直接 panic 了,所以我没办法控制……

@dotinx
Copy link
Owner

dotinx commented Mar 21, 2025

麻烦了,我遇到的是第二种;那就很遗憾了()

@dotinx dotinx closed this as completed Mar 21, 2025
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

2 participants