<commit_before>/**
 * @file spmv.h
 * @brief Types, constants and macros for SpMV.
 * @author <NAME> <<EMAIL>>
 */
#ifndef GHOST_SPMV_H
#define GHOST_SPMV_H

#include "ghost/densemat.h"

/**
 * @brief Flags to be passed to sparse matrix-vector multiplication.
 */
typedef enum {
    GHOST_SPMV_DEFAULT = 0,
    GHOST_SPMV_AXPY = 1,
    GHOST_SPMV_MODE_NOMPI = 2,
    GHOST_SPMV_MODE_VECTOR = 4,
    GHOST_SPMV_MODE_OVERLAP = 8,
    GHOST_SPMV_MODE_TASK = 16,
    GHOST_SPMV_SHIFT = 32,
    GHOST_SPMV_VSHIFT = 4096,
    GHOST_SPMV_SCALE = 64,
    GHOST_SPMV_AXPBY = 128,
    GHOST_SPMV_DOT = 256,
    GHOST_SPMV_DOT_YY = 512,
    GHOST_SPMV_DOT_XY = 1024,
    GHOST_SPMV_DOT_XX = 2048,
    GHOST_SPMV_NOT_REDUCE = 4096,
    GHOST_SPMV_LOCAL = 8192,
    GHOST_SPMV_REMOTE = 16384
} ghost_spmv_flags_t;<commit_msg>bugfix. i'm, just wondering when and why this happened? fixes #126<commit_after>/**
 * @file spmv.h
 * @brief Types, constants and macros for SpMV.
 * @author <NAME> <<EMAIL>>
 */
#ifndef GHOST_SPMV_H
#define GHOST_SPMV_H

#include "ghost/densemat.h"

/**
 * @brief Flags to be passed to sparse matrix-vector multiplication.
 */
typedef enum {
    GHOST_SPMV_DEFAULT = 0,
    GHOST_SPMV_AXPY = 1,
    GHOST_SPMV_MODE_NOMPI = 2,
    GHOST_SPMV_MODE_VECTOR = 4,
    GHOST_SPMV_MODE_OVERLAP = 8,
    GHOST_SPMV_MODE_TASK = 16,
    GHOST_SPMV_SHIFT = 32,
    GHOST_SPMV_VSHIFT = 32768,
    GHOST_SPMV_SCALE = 64,
    GHOST_SPMV_AXPBY = 128,
    GHOST_SPMV_DOT = 256,
    GHOST_SPMV_DOT_YY = 512,
    GHOST_SPMV_DOT_XY = 1024,
    GHOST_SPMV_DOT_XX = 2048,
    GHOST_SPMV_NOT_REDUCE = 4096,
    GHOST_SPMV_LOCAL = 8192,
    GHOST_SPMV_REMOTE = 16384
} ghost_spmv_flags_t;
{'fraction_non_alphanumeric': 0.09237187127532777, 'fraction_numerical': 0.05601907032181168, 'mean_word_length': 3.6126373626373627, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1029633', 'n_tokens_mistral': 860, 'n_tokens_neox': 725, 'n_words': 139}