Using TPU with C/C++ APIs

616 views
Skip to first unread message

Hangchen YU

unread,
Oct 24, 2018, 10:00:51 PM10/24/18
to gce-discussion
Hello,

Google Cloud tutorial lets application developers use tf.contrib.tpu package to operate TPU nodes (examples here and here). We want to run some benchmarks on TPU and there're reasons why we don't want to use Python. Are there corresponding C or C++ implementations so that developers can write C/C++ TPU programs?

Thanks for any advice in advance!

Amit (Google Cloud Support)

unread,
Oct 25, 2018, 6:20:09 PM10/25/18
to gce-discussion

Hello Hangchen,


I would like to let you know that during my research I was unable to find any documentation that could give the instructions on how to write C or C++ TPU program. However, according to this Stackoverflow post you might use Tensorflow C++ code on Google Cloud VM’s but it won't be able to use TPU.
Reply all
Reply to author
Forward
0 new messages