Skip to content

Instantly share code, notes, and snippets.

View fvisconti's full-sized avatar

francesco visconti fvisconti

  • Mangrovia Blockchain Solutions
  • Rome
  • 04:40 (UTC +02:00)
View GitHub Profile
@wh5a
wh5a / mp6.c
Last active April 5, 2024 08:02
CUDA 2D Convolution.
#include <wb.h>
// Check ec2-174-129-21-232.compute-1.amazonaws.com:8080/mp/6 for more information
#define wbCheck(stmt) do { \
cudaError_t err = stmt; \
if (err != cudaSuccess) { \
wbLog(ERROR, "Failed to run stmt ", #stmt); \
return -1; \