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

疑似一处笔误 #42

Open
geeksreign opened this issue Feb 12, 2025 · 4 comments
Open

疑似一处笔误 #42

geeksreign opened this issue Feb 12, 2025 · 4 comments

Comments

@geeksreign
Copy link

@brucefan1983

作者您好,您的书第一版pdf第110页写道:

另外一个值得一提的优化策略是用一个寄存器变量 count 减少了对全局内存变量 g_NN[n1] 的访问,相关代码见第 10、20 和 23 行。

这里的g_NN,似乎应该指的是d_NN?

@brucefan1983
Copy link
Owner

brucefan1983 commented Feb 12, 2025

是的,我的编程习惯是用g_NN命名,g代表global。后来在写这本书的时候改成d(代表device)开头,但可能修改不彻底。

@geeksreign
Copy link
Author

geeksreign commented Feb 12, 2025 via email

@brucefan1983
Copy link
Owner

我暂时没有最新版样书,不记得这个有没有修正。我先不在主页列出了。

@brucefan1983
Copy link
Owner

因为你说的PDF,也许出版的书改过来了。

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