Skip to content

Commit 10b4834

Browse files
committed
[libc] Fix wrong printf usage in AMDGPU loader
1 parent 82b800e commit 10b4834

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/utils/gpu/loader/amdgpu/Loader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ hsa_status_t get_agent(hsa_agent_t *output_agent) {
125125
return iterate_agents(cb);
126126
}
127127

128-
void print_kernel_resources(char *kernel_name) {
129-
fprintf("Kernel resources on AMDGPU is not supported yet.\n");
128+
void print_kernel_resources(const char *kernel_name) {
129+
fprintf(stderr, "Kernel resources on AMDGPU is not supported yet.\n");
130130
}
131131

132132
/// Retrieve a global memory pool with a \p flag from the agent.

0 commit comments

Comments
 (0)