Skip to content

Commit

Permalink
Fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thilinarmtb committed Oct 4, 2023
1 parent 1f74923 commit 5f2e013
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backends/unified-cuda-hip-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,8 @@ static int backend_update(nomp_backend_t *NOMP_UNUSED(bnd), nomp_mem_t *m,
return 0;
}

static int backend_knl_build(nomp_backend_t *bnd, nomp_prog_t *prg,
static int backend_knl_build(nomp_backend_t *NOMP_UNUSED(bnd), nomp_prog_t *prg,
const char *source, const char *name) {
struct backend_t *backend = (struct backend_t *)bnd->bptr;

backendrtcProgram prog;
check_rtc(backendrtcCreateProgram(&prog, source, NULL, 0, NULL, NULL));

Expand Down

0 comments on commit 5f2e013

Please sign in to comment.