You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
This is just a question about the source code. To improve the performance, it will be benefit to use inline function as many as possible. The MSHADOW_XINLINE is a force inline macro which defined in base.h. But sometimes inline key word appear here and there.
for example, https://github.com/dmlc/mshadow/blob/master/mshadow/expression.h#L137
why just replace the inline keyword with predefined macro? Is it matter the performance?
Or just use inline keywords where we can make sure that function will be execute in CPU .
The text was updated successfully, but these errors were encountered:
This code base has been donated to the Apache MXNet project per #373, and repo is deprecated. Future development and issue tracking should continue in Apache MXNet.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is just a question about the source code. To improve the performance, it will be benefit to use inline function as many as possible. The MSHADOW_XINLINE is a force inline macro which defined in base.h. But sometimes inline key word appear here and there.
for example,
https://github.com/dmlc/mshadow/blob/master/mshadow/expression.h#L137
why just replace the inline keyword with predefined macro? Is it matter the performance?
Or just use inline keywords where we can make sure that function will be execute in CPU .
The text was updated successfully, but these errors were encountered: