Skip to content

Commit

Permalink
Fixing type-mismatch errors in power10 sandbox (#701)
Browse files Browse the repository at this point in the history
Details:
- This commit fixes a mismatch between the function type signature of
  bli_gemm_ex() required by BLIS and the version of the function defined
  within the power10 sandbox. It also performs typecasting upon calling 
  bli_gemm_front() to attain type consistency with the type signature
  defined by BLIS for bli_gemm_front().
  • Loading branch information
nisanthmp authored Jan 11, 2023
1 parent 38d88d5 commit b895ec9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sandbox/power10/bli_gemm_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@

void bli_gemm_ex
(
obj_t* alpha,
obj_t* a,
obj_t* b,
obj_t* beta,
obj_t* c,
cntx_t* cntx,
rntm_t* rntm
const obj_t* alpha,
const obj_t* a,
const obj_t* b,
const obj_t* beta,
const obj_t* c,
const cntx_t* cntx,
const rntm_t* rntm
)
{
bli_init_once();
Expand All @@ -73,7 +73,7 @@ void bli_gemm_ex
// Invoke the operation's front end.
bli_gemm_front
(
alpha, a, b, beta, c, cntx, rntm
alpha, a, b, beta, c, cntx, (rntm_t* )rntm
);
}

0 comments on commit b895ec9

Please sign in to comment.