<commit_before>#ifndef __LSTM_CPULIB_CONF_HEADER_
#define __LSTM_CPULIB_CONF_HEADER_

#include <sys/time.h>

#define LARGE_DATA_SET	0
#define MEDIUM_DATA_SET	0
#define SMALL_DATA_SET	0
#define NO_BATCH        1

#if LARGE_DATA_SET
	#define BATCH_SIZE 100
#elif MEDIUM_DATA_SET
	#define BATCH_SIZE 32
#elif SMALL_DATA_SET
	#define BATCH_SIZE 8
#elif NO_BATCH
    #define BATCH_SIZE 1
#endif

#define FEATURE_SIZE 1024
#define SEQ_LENGTH 10
#define NUM_LAYERS 4

// Parameters for Tiramisu code
#define GEMM_BATCH SEQ_LENGTH

#define NB_TESTS 101

#if 1  // Flip to use double precision
    #define DATA_TYPE float
    #define DATA_TYPE_P p_float32
    #define DATA_TYPE_CUDNN CUDNN_DATA_FLOAT
#else
    #define DATA_TYPE double
    #define DATA_TYPE_P p_float64<commit_msg>LSTM cpu_lib : add VEC_LEN to configure.h<commit_after>#ifndef __LSTM_CPULIB_CONF_HEADER_
#define __LSTM_CPULIB_CONF_HEADER_

#include <sys/time.h>

#define LARGE_DATA_SET	0
#define MEDIUM_DATA_SET	0
#define SMALL_DATA_SET	0
#define NO_BATCH        1

#if LARGE_DATA_SET
	#define BATCH_SIZE 100
#elif MEDIUM_DATA_SET
	#define BATCH_SIZE 32
#elif SMALL_DATA_SET
	#define BATCH_SIZE 8
#elif NO_BATCH
    #define BATCH_SIZE 1
#endif

#define FEATURE_SIZE 1024
#define SEQ_LENGTH 10
#define NUM_LAYERS 4

// Parameters for Tiramisu code
#define GEMM_BATCH SEQ_LENGTH
#define VEC_LEN 8

#define NB_TESTS 101

#if 1  // Flip to use double precision
    #define DATA_TYPE float
    #define DATA_TYPE_P p_float32
    #define DATA_TYPE_CUDNN CUDNN_DATA_FLOAT
#else
    #define DATA_TYPE double
    #define DATA_TYPE_P p_float64
{'fraction_non_alphanumeric': 0.0509433962264151, 'fraction_numerical': 0.03333333333333333, 'mean_word_length': 4.870848708487085, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2642296', 'n_tokens_mistral': 678, 'n_tokens_neox': 620, 'n_words': 169}