Skip to content

Instantly share code, notes, and snippets.

@killeent
Created March 16, 2017 15:25
Show Gist options
  • Save killeent/8279233ec012fe58ac93f9bc81d72e56 to your computer and use it in GitHub Desktop.
Save killeent/8279233ec012fe58ac93f9bc81d72e56 to your computer and use it in GitHub Desktop.
Testing average duration for 10 loops
Testing 1D Tensor of size 8: 6 usec (TH), 49 usec (THC)
Testing 1D Tensor of size 16: 1 usec (TH), 39 usec (THC)
Testing 1D Tensor of size 32: 1 usec (TH), 41 usec (THC)
Testing 1D Tensor of size 64: 1 usec (TH), 51 usec (THC)
Testing 1D Tensor of size 128: 2 usec (TH), 53 usec (THC)
Testing 1D Tensor of size 256: 6 usec (TH), 83 usec (THC)
Testing 1D Tensor of size 512: 10 usec (TH), 108 usec (THC)
Testing 1D Tensor of size 1024: 23 usec (TH), 109 usec (THC)
Testing 1D Tensor of size 2048: 48 usec (TH), 1370 usec (THC)
Testing 2D Tensor of size (1, 32) along dimension 1: 1 usec (TH), 40 usec (THC)
Testing 2D Tensor of size (32, 1) along dimension 0: 1 usec (TH), 39 usec (THC)
Testing 2D Tensor of size (1, 64) along dimension 1: 2 usec (TH), 50 usec (THC)
Testing 2D Tensor of size (64, 1) along dimension 0: 1 usec (TH), 51 usec (THC)
Testing 2D Tensor of size (1, 128) along dimension 1: 2 usec (TH), 54 usec (THC)
Testing 2D Tensor of size (128, 1) along dimension 0: 2 usec (TH), 53 usec (THC)
Testing 2D Tensor of size (1, 1024) along dimension 1: 28 usec (TH), 111 usec (THC)
Testing 2D Tensor of size (1024, 1) along dimension 0: 27 usec (TH), 112 usec (THC)
Testing 2D Tensor of size (16, 16) along dimension 1: 3 usec (TH), 39 usec (THC)
Testing 2D Tensor of size (16, 16) along dimension 0: 3 usec (TH), 62 usec (THC)
Testing 2D Tensor of size (32, 32) along dimension 1: 9 usec (TH), 63 usec (THC)
Testing 2D Tensor of size (32, 32) along dimension 0: 9 usec (TH), 82 usec (THC)
Testing 2D Tensor of size (128, 128) along dimension 1: 361 usec (TH), 87 usec (THC)
Testing 2D Tensor of size (128, 128) along dimension 0: 298 usec (TH), 110 usec (THC)
Testing 2D Tensor of size (256, 256) along dimension 1: 1586 usec (TH), 702 usec (THC)
Testing 2D Tensor of size (256, 256) along dimension 0: 1224 usec (TH), 725 usec (THC)
Testing 2D Tensor of size (512, 512) along dimension 1: 3137 usec (TH), 1272 usec (THC)
Testing 2D Tensor of size (512, 512) along dimension 0: 3089 usec (TH), 1779 usec (THC)
Testing 2D Tensor of size (1024, 1024) along dimension 1: 14497 usec (TH), 2648 usec (THC)
Testing 2D Tensor of size (1024, 1024) along dimension 0: 20987 usec (TH), 3185 usec (THC)
Testing 2D Tensor of size (16, 128) along dimension 1: 21 usec (TH), 79 usec (THC)
Testing 2D Tensor of size (128, 16) along dimension 0: 23 usec (TH), 96 usec (THC)
Testing 2D Tensor of size (32, 128) along dimension 1: 42 usec (TH), 77 usec (THC)
Testing 2D Tensor of size (128, 32) along dimension 0: 45 usec (TH), 105 usec (THC)
Testing 2D Tensor of size (32, 256) along dimension 1: 133 usec (TH), 180 usec (THC)
Testing 2D Tensor of size (256, 32) along dimension 0: 137 usec (TH), 202 usec (THC)
Testing 3D Tensor of size (1, 1, 128) along dimension 2: 3 usec (TH), 55 usec (THC)
Testing 3D Tensor of size (1, 128, 1) along dimension 1: 2 usec (TH), 54 usec (THC)
Testing 3D Tensor of size (128, 1, 1) along dimension 0: 2 usec (TH), 53 usec (THC)
Testing 3D Tensor of size (1, 32, 128) along dimension 2: 41 usec (TH), 80 usec (THC)
Testing 3D Tensor of size (1, 128, 32) along dimension 1: 43 usec (TH), 101 usec (THC)
Testing 3D Tensor of size (128, 32, 1) along dimension 0: 44 usec (TH), 99 usec (THC)
Testing 3D Tensor of size (1, 32, 1024) along dimension 2: 935 usec (TH), 188 usec (THC)
Testing 3D Tensor of size (1, 1024, 32) along dimension 1: 854 usec (TH), 212 usec (THC)
Testing 3D Tensor of size (1024, 32, 1) along dimension 0: 874 usec (TH), 217 usec (THC)
Testing 3D Tensor of size (16, 16, 128) along dimension 2: 767 usec (TH), 151 usec (THC)
Testing 3D Tensor of size (16, 128, 16) along dimension 1: 464 usec (TH), 227 usec (THC)
Testing 3D Tensor of size (128, 16, 16) along dimension 0: 516 usec (TH), 216 usec (THC)
Testing 3D Tensor of size (16, 128, 128) along dimension 2: 2551 usec (TH), 423 usec (THC)
Testing 3D Tensor of size (16, 128, 128) along dimension 1: 2531 usec (TH), 915 usec (THC)
Testing 3D Tensor of size (128, 128, 16) along dimension 0: 2633 usec (TH), 976 usec (THC)
Testing 3D Tensor of size (32, 128, 128) along dimension 2: 5213 usec (TH), 796 usec (THC)
Testing 3D Tensor of size (32, 128, 128) along dimension 1: 5046 usec (TH), 1333 usec (THC)
Testing 3D Tensor of size (128, 128, 32) along dimension 0: 5366 usec (TH), 1475 usec (THC)
Testing 3D Tensor of size (16, 256, 256) along dimension 2: 11345 usec (TH), 9699 usec (THC)
Testing 3D Tensor of size (16, 256, 256) along dimension 1: 12556 usec (TH), 10211 usec (THC)
Testing 3D Tensor of size (256, 256, 16) along dimension 0: 18130 usec (TH), 10696 usec (THC)
Testing 3D Tensor of size (32, 256, 256) along dimension 2: 22571 usec (TH), 19190 usec (THC)
Testing 3D Tensor of size (32, 256, 256) along dimension 1: 25363 usec (TH), 20098 usec (THC)
Testing 3D Tensor of size (256, 256, 32) along dimension 0: 36165 usec (TH), 21076 usec (THC)
Testing 3D Tensor of size (128, 128, 128) along dimension 2: 20935 usec (TH), 2902 usec (THC)
Testing 3D Tensor of size (128, 128, 128) along dimension 1: 21011 usec (TH), 3890 usec (THC)
Testing 3D Tensor of size (128, 128, 128) along dimension 0: 33832 usec (TH), 4412 usec (THC)
Testing 3D Tensor of size (128, 256, 256) along dimension 2: 91916 usec (TH), 76341 usec (THC)
Testing 3D Tensor of size (128, 256, 256) along dimension 1: 101542 usec (TH), 80153 usec (THC)
Testing 3D Tensor of size (256, 256, 128) along dimension 0: 174722 usec (TH), 82996 usec (THC)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment