Skip to content

Commit b895ec9

Browse files
authored
Fixing type-mismatch errors in power10 sandbox (#701)
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().
1 parent 38d88d5 commit b895ec9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

sandbox/power10/bli_gemm_ex.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646

4747
void bli_gemm_ex
4848
(
49-
obj_t* alpha,
50-
obj_t* a,
51-
obj_t* b,
52-
obj_t* beta,
53-
obj_t* c,
54-
cntx_t* cntx,
55-
rntm_t* rntm
49+
const obj_t* alpha,
50+
const obj_t* a,
51+
const obj_t* b,
52+
const obj_t* beta,
53+
const obj_t* c,
54+
const cntx_t* cntx,
55+
const rntm_t* rntm
5656
)
5757
{
5858
bli_init_once();
@@ -73,7 +73,7 @@ void bli_gemm_ex
7373
// Invoke the operation's front end.
7474
bli_gemm_front
7575
(
76-
alpha, a, b, beta, c, cntx, rntm
76+
alpha, a, b, beta, c, cntx, (rntm_t* )rntm
7777
);
7878
}
7979

0 commit comments

Comments
 (0)