Skip to content

Instantly share code, notes, and snippets.

@karino2
Last active January 16, 2018 14:23
Show Gist options
  • Save karino2/93ff66fed8a65425e18decf1cef52763 to your computer and use it in GitHub Desktop.
Save karino2/93ff66fed8a65425e18decf1cef52763 to your computer and use it in GitHub Desktop.
For screen shot
__global__ void linear(float* x,
int numXRows, int numXCols)
{
__shared__ float W [TILE_WIDTH][TILE_WIDTH];
__shared__ float b [TILE_WIDTH][TILE_WIDTH];
// x*W+b
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment