Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cuda_lab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
cuda_lab
Commits
50ae3ecf
Commit
50ae3ecf
authored
Mar 06, 2014
by
Miklós Homolya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix after evaluation session
parent
822ddf37
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
main.cu
miklos/ex08/main.cu
+2
-2
main.cu
miklos/ex09/main.cu
+2
-2
main.cu
submission/ex8/main.cu
+2
-2
main.cu
submission/ex9/main.cu
+2
-2
No files found.
miklos/ex08/main.cu
View file @
50ae3ecf
...
@@ -297,8 +297,8 @@ int main(int argc, char **argv)
...
@@ -297,8 +297,8 @@ int main(int argc, char **argv)
float *imgOut12 = new float[(size_t)w*h*mOut12.channels()];
float *imgOut12 = new float[(size_t)w*h*mOut12.channels()];
float *imgOut22 = new float[(size_t)w*h*mOut22.channels()];
float *imgOut22 = new float[(size_t)w*h*mOut22.channels()];
float dx_kern[] = { -3
, 0, 3, -10, 0, 10, -3, 0, 3
};
float dx_kern[] = { -3
.0/32, 0, 3.0/32, -10.0/32, 0, 10.0/32, -3.0/32, 0, 3.0/32
};
float dy_kern[] = { -3
, -10, -3, 0, 0, 0, 3, 10, 3
};
float dy_kern[] = { -3
.0/32, -10.0/32, -3.0/32, 0, 0, 0, 3.0/32, 10.0/32, 3.0/32
};
// For camera mode: Make a loop to read in camera frames
// For camera mode: Make a loop to read in camera frames
#ifdef CAMERA
#ifdef CAMERA
...
...
miklos/ex09/main.cu
View file @
50ae3ecf
...
@@ -309,8 +309,8 @@ int main(int argc, char **argv)
...
@@ -309,8 +309,8 @@ int main(int argc, char **argv)
cout << "shared memory: " << smBytes << " bytes" << endl;
cout << "shared memory: " << smBytes << " bytes" << endl;
#endif
#endif
float dx_kern[] = { -3
, 0, 3, -10, 0, 10, -3, 0, 3
};
float dx_kern[] = { -3
.0/32, 0, 3.0/32, -10.0/32, 0, 10.0/32, -3.0/32, 0, 3.0/32
};
float dy_kern[] = { -3
, -10, -3, 0, 0, 0, 3, 10, 3
};
float dy_kern[] = { -3
.0/32, -10.0/32, -3.0/32, 0, 0, 0, 3.0/32, 10.0/32, 3.0/32
};
// For camera mode: Make a loop to read in camera frames
// For camera mode: Make a loop to read in camera frames
#ifdef CAMERA
#ifdef CAMERA
...
...
submission/ex8/main.cu
View file @
50ae3ecf
...
@@ -297,8 +297,8 @@ int main(int argc, char **argv)
...
@@ -297,8 +297,8 @@ int main(int argc, char **argv)
float *imgOut12 = new float[(size_t)w*h*mOut12.channels()];
float *imgOut12 = new float[(size_t)w*h*mOut12.channels()];
float *imgOut22 = new float[(size_t)w*h*mOut22.channels()];
float *imgOut22 = new float[(size_t)w*h*mOut22.channels()];
float dx_kern[] = { -3
, 0, 3, -10, 0, 10, -3, 0, 3
};
float dx_kern[] = { -3
.0/32, 0, 3.0/32, -10.0/32, 0, 10.0/32, -3.0/32, 0, 3.0/32
};
float dy_kern[] = { -3
, -10, -3, 0, 0, 0, 3, 10, 3
};
float dy_kern[] = { -3
.0/32, -10.0/32, -3.0/32, 0, 0, 0, 3.0/32, 10.0/32, 3.0/32
};
// For camera mode: Make a loop to read in camera frames
// For camera mode: Make a loop to read in camera frames
#ifdef CAMERA
#ifdef CAMERA
...
...
submission/ex9/main.cu
View file @
50ae3ecf
...
@@ -309,8 +309,8 @@ int main(int argc, char **argv)
...
@@ -309,8 +309,8 @@ int main(int argc, char **argv)
cout << "shared memory: " << smBytes << " bytes" << endl;
cout << "shared memory: " << smBytes << " bytes" << endl;
#endif
#endif
float dx_kern[] = { -3
, 0, 3, -10, 0, 10, -3, 0, 3
};
float dx_kern[] = { -3
.0/32, 0, 3.0/32, -10.0/32, 0, 10.0/32, -3.0/32, 0, 3.0/32
};
float dy_kern[] = { -3
, -10, -3, 0, 0, 0, 3, 10, 3
};
float dy_kern[] = { -3
.0/32, -10.0/32, -3.0/32, 0, 0, 0, 3.0/32, 10.0/32, 3.0/32
};
// For camera mode: Make a loop to read in camera frames
// For camera mode: Make a loop to read in camera frames
#ifdef CAMERA
#ifdef CAMERA
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment