Skip to content

Comments

[profiler example] Add missing "err.h" include in "profiler.h"#1848

Open
Kaiyuan-Zhang wants to merge 1 commit intoNVIDIA:masterfrom
Kaiyuan-Zhang:ext-profiler-header-fix
Open

[profiler example] Add missing "err.h" include in "profiler.h"#1848
Kaiyuan-Zhang wants to merge 1 commit intoNVIDIA:masterfrom
Kaiyuan-Zhang:ext-profiler-header-fix

Conversation

@Kaiyuan-Zhang
Copy link

Several profiler_v*.h files uses ncclResult_t defined in err.h but the header is not #included-ed in "profiler.h"

Currently the .c files in example does include it before including "profiler.h" and therefore does not trigger compilation error. But this commit should make the "profiler.h" header self-contained (as it was in previous versions).

Several profiler_v*.h files uses ncclResult_t defined in err.h but the
header is not #included-ed in "profiler.h"

Currently the .c files in example does include it before including
"profiler.h" and therefore does not trigger compilation error.
But this commit should make the "profiler.h" header self-contained (as
it was in previous versions).
@Kaiyuan-Zhang Kaiyuan-Zhang marked this pull request as ready for review September 16, 2025 23:43
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

Successfully merging this pull request may close these issues.

1 participant