Skip to content
Snippets Groups Projects
Commit bd860a82 authored by Zenovore's avatar Zenovore
Browse files
parent 084f1fe8
No related merge requests found
......@@ -155,34 +155,6 @@ int main(){
int rowC = rowB-rowA + 1;
int colC = colB-colA + 1;
int c[num_targets][rowC*colC] = { 0 };
// int a[rowA*colA] = {
// 1,0,
// 0,-1
// };
// int a[rowA*colA] = {
// 1,0,1,
// 0,1,0,
// 1,0,1
// };
// int b[index][rowB*colB] = {
// {1,1,0,1,0,1,11,-1,1 },
// {2,12,2,2,2,-2,2,21,2},
// {30,-1,3,3,30,-3,-31,10,-9 }
// };
// int b[rowB*colB]= {
// 0,1,1,1,0,0,0,
// 0,0,1,1,1,0,0,
// 0,0,0,1,1,1,0,
// 0,0,0,1,1,0,0,
// 0,0,1,1,0,0,0,
// 0,1,1,0,0,0,0,
// 0,1,0,0,0,0,0
// };
// int b[rowB*colB]= {
// 1,1,0,
// 1,0,1,
// 11,-1,1
// };
convolutionWithCUDA(*c, a, *b, rowA,colA,rowB,colB,num_targets);
// convolution(c,a,b[0],rowA,colA,rowB,colB);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment