Mentions légales du service

Skip to content
Snippets Groups Projects

zgetrf_batched: fix discarding const warning

Merged Philippe SWARTVAGHER requested to merge pswartva/chameleon:fix-warning into master

This MR solves the following warning:

/home/philippe/dev/chameleon/build/runtime/starpu/codelets/codelet_dgetrf_batched.c: In function ‘INSERT_TASK_dgetrf_panel_offdiag_batched’:
/home/philippe/dev/chameleon/build/runtime/starpu/codelets/codelet_dgetrf_batched.c:105:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  105 |     clargs->cl_name = chameleon_codelet_name( clargs->cl_name, 1,
      |                     ^

Didn't look too much into it, I added the missing const, it still builds and the warning disappears, LGTM. But maybe there is another more clever way to fix it.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading