From dbdd31ee211fe8b1ac7e93ceadf7b34b8d304f34 Mon Sep 17 00:00:00 2001
From: Roland Singer <roland.singer@desertbit.com>
Date: Wed, 22 Aug 2018 11:56:41 +0000
Subject: [PATCH] updated README to include information about learning rate adjustment for multiple GPUs
---
src/gemm.h | 25 +++++++++++++++++++++----
1 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/src/gemm.h b/src/gemm.h
index 8664d8e..3cdca99 100644
--- a/src/gemm.h
+++ b/src/gemm.h
@@ -1,5 +1,11 @@
#ifndef GEMM_H
#define GEMM_H
+#include "activations.h"
+#include <stdint.h>
+#include <stddef.h>
+
+void convolution_2d(int w, int h, int ksize, int n, int c, int pad, int stride,
+ float *weights, float *input, float *output, float *mean);
static inline void set_bit(unsigned char *const dst, size_t index) {
size_t dst_i = index / 8;
@@ -16,17 +22,23 @@
void float_to_bit(float *src, unsigned char *dst, size_t size);
+void transpose_block_SSE4x4(float *A, float *B, const int n, const int m,
+ const int lda, const int ldb, const int block_size);
+
void gemm_nn_custom_bin_mean_transposed(int M, int N, int K, float ALPHA_UNUSED,
unsigned char *A, int lda,
unsigned char *B, int ldb,
float *C, int ldc, float *mean_arr);
+void im2col_cpu_custom(float* data_im,
+ int channels, int height, int width,
+ int ksize, int stride, int pad, float* data_col);
-//void gemm_nn_custom_bin_mean(int M, int N, int K, float ALPHA_UNUSED,
- //unsigned char *A, int lda,
- //unsigned char *B, int ldb,
- //float *C, int ldc, float *mean_arr)
+void im2col_cpu_custom_transpose(float* data_im,
+ int channels, int height, int width,
+ int ksize, int stride, int pad, float* data_col, int ldb_align);
+void activate_array_cpu_custom(float *x, const int n, const ACTIVATION a);
void gemm_bin(int M, int N, int K, float ALPHA,
@@ -34,6 +46,11 @@
float *B, int ldb,
float *C, int ldc);
+
+void forward_maxpool_layer_avx(float *src, float *dst, int *indexes, int size, int w, int h, int out_w, int out_h, int c,
+ int pad, int stride, int batch);
+
+
void gemm(int TA, int TB, int M, int N, int K, float ALPHA,
float *A, int lda,
float *B, int ldb,
--
Gitblit v1.10.0