I get the following error when l run tensorflow in GPU.
2018-09-15 18:56:51.011724: E tensorflow/core/common_runtime/direct_session.cc:158] Internal: cudaGetDevi
Updating nvidia driver solved this issue.
You can check your cuda toolkit compatiblity here. Then update your nvidia driver by downloading it from here.