Skip to content

Instantly share code, notes, and snippets.

View jhalakpatel's full-sized avatar
🎯
Focusing

Jhalak Patel jhalakpatel

🎯
Focusing
View GitHub Profile
@goldsborough
goldsborough / conv.cu
Last active July 27, 2024 17:10
Convolution with cuDNN
#include <cudnn.h>
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <opencv2/opencv.hpp>
#define checkCUDNN(expression) \
{ \
cudnnStatus_t status = (expression); \
if (status != CUDNN_STATUS_SUCCESS) { \
@vasanthk
vasanthk / System Design.md
Last active September 22, 2024 21:07
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?