mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Implement simple test for host conv2d
This commit is contained in:
@@ -25,6 +25,9 @@ class Conv2d {
|
||||
int outputSize;
|
||||
|
||||
void forward(const float* d_input, float* d_output);
|
||||
void setKernels(const std::vector<float>& kernels_input);
|
||||
|
||||
void host_conv(const float* input, float* output);
|
||||
|
||||
private:
|
||||
// Inputs
|
||||
@@ -49,10 +52,6 @@ class Conv2d {
|
||||
|
||||
void initializeKernels();
|
||||
void toCuda();
|
||||
|
||||
void setKernels(const std::vector<float>& kernels_input);
|
||||
|
||||
void host_conv(const float* input, float* output);
|
||||
};
|
||||
|
||||
} // namespace Layers
|
||||
|
||||
Reference in New Issue
Block a user