Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/conv_kernels.cu
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ void conv2d_variant3(const float* input, const float* kernel, float* output,
// - Degree of overlap visible on the NSYS timeline (copies concurrent with kernels).
// - Any change in kernel performance (avoid starving compute with too many small chunks).
//
// NOTE: const float* input, const float* kernel are host pointers in this task
//
// =============================================================================


Expand Down
2 changes: 1 addition & 1 deletion src/main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ int main(int argc, char** argv) {
conv2d_variant3(device_input, device_kernel, device_output,
batch_size, height, width, kernel_size, stream);
} else if (impl_name == "variant4") {
conv2d_variant4(device_input, device_kernel, device_output,
conv2d_variant4(host_images.data(), host_kernel.data(), device_output,
batch_size, height, width, kernel_size, stream);
} else {
std::fprintf(stderr, "Unknown implementation: %s\n", impl_name.c_str());
Expand Down