title: Blas SGEMM launch failed
body: <p>I just installed  TensorFlow-GPU 1.0.1 on Win10 GTX GEFORCE 850M with CUDA 8.0 and Cudnn v5.1.
  when I try to figure out if the installation was successful, I run the</p>
  <blockquote>
  <p>mnist_with_summaries.py</p>
  </blockquote>
  <p>in</p>
  <blockquote>
  <p>C:\Users...\Anaconda3\Lib\site-packages\tensorflow\examples\tutorials\mnist</p>
  </blockquote>
  <p>When I run the code in Jupyter Notebook, it prints</p>
  <blockquote>
  <p>Accuracy at step 0: 0.068</p>
  <p>Accuracy at step 10: 0.6795</p>
  <p>Accuracy at step 10: 0.6795</p>
  <p>Accuracy at step 20: 0.8062</p>
  <p>Accuracy at step 30: 0.8455</p>
  <p>Accuracy at step 40: 0.8737</p>
  <p>Accuracy at step 50: 0.8735</p>
  <p>Accuracy at step 60: 0.8851</p>
  <p>Accuracy at step 70: 0.8815</p>
  <p>Accuracy at step 80: 0.8863</p>
  <p>Accuracy at step 90: 0.8918</p>
  </blockquote>
  <p>And the kernel just died after print above message.</p>
  <p>When I try to run the code in command prompt, it returns error:</p>
  <blockquote>
  <p>failed to create cublas handle</p>
  <p>attempting to perform BLAS operation using StreamExecutor without BLAS support</p>
  <p>Internal error: Blass SGEMM launch failed: a.shape=(10000,784),b.shape=(784,500)</p>
  </blockquote>
  <p>And this Internal error message appears three times.( too many error message, I just write down something I think useful. If anyone need more information, tell me).</p>
  <p>I then try to run:</p>
  <pre><code>a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a')
  b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
  c = tf.matmul(a, b)
  sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
  print(sess.run(c))
  </code></pre>
  <p>And the output is:
  [[ 22. 28.]
  [ 49. 64.]]
  This time the code runs without error.
  But it should output:
  Device mapping:</p>
  <blockquote>
  <p>/job:localhost/replica:0/task:0/gpu:0 -&gt; device: 0, name: GeForce GTX 850M</p>
  <p>id: 0000:05:00.0</p>
  <p>b: /job:localhost/replica:0/task:0/gpu:0</p>
  <p>a: /job:localhost/replica:0/task:0/gpu:0</p>
  <p>MatMul: /job:localhost/replica:0/task:0/gpu:0</p>
  </blockquote>
  <p>[[ 22.  28.]
  [ 49.  64.]]</p>
  <p>I am totally lost. Could someone tell me why?</p>