mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-08 10:44:22 +00:00
Rename dim2d to shape2d
This commit is contained in:
@@ -9,13 +9,13 @@ __global__ void Kernels::convolution(
|
||||
const float* __restrict__ d_kernel,
|
||||
const float* __restrict__ d_bias,
|
||||
float* __restrict__ d_output,
|
||||
const dim2d inputSize,
|
||||
const shape2d inputSize,
|
||||
const int nChannels,
|
||||
const dim2d paddingSize,
|
||||
const dim2d kernelSize,
|
||||
const dim2d stride,
|
||||
const shape2d paddingSize,
|
||||
const shape2d kernelSize,
|
||||
const shape2d stride,
|
||||
const int nFilters,
|
||||
const dim2d outputSize
|
||||
const shape2d outputSize
|
||||
) {
|
||||
int j = blockDim.x * blockIdx.x + threadIdx.x;
|
||||
int i = blockDim.y * blockIdx.y + threadIdx.y;
|
||||
|
||||
Reference in New Issue
Block a user