adding opencl convolution benchmark

This commit is contained in:
Blaise Tine
2023-11-14 22:31:30 -08:00
parent 4e7a536918
commit 61e3442ef8
16 changed files with 490 additions and 170 deletions

View File

@@ -143,7 +143,7 @@ int main (int argc, char **argv) {
// Allocate memories for input arrays and output arrays.
h_a = (int*)malloc(nbytes);
// Initialize values for array members.
// Generate input values
for (int i = 0; i < size; ++i) {
h_a[i] = -1 + i;
}