1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
//------------------------------------------------------------------------------
// GB_jit_kernel_trans_unop.c: C = op (A') for unary op
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2025, All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//------------------------------------------------------------------------------
// TODO: C=op(A') is used only for unary ops; extend it to index unary ops
// cij = op (aij)
#define GB_APPLY_OP(pC,pA) GB_UNOP (Cx, pC, Ax, pA, A_iso, i, j, y)
GB_JIT_GLOBAL GB_JIT_KERNEL_TRANS_UNOP_PROTO (GB_jit_kernel) ;
GB_JIT_GLOBAL GB_JIT_KERNEL_TRANS_UNOP_PROTO (GB_jit_kernel)
{
GB_GET_CALLBACKS ;
#include "template/GB_transpose_template.c"
return (GrB_SUCCESS) ;
}
|