Building tensorflow 1.5.0 on macos with cuda gpu

January 21, 2018

Tensorflow

System information

Requirements

We install gcc for libgomp. You may need to add a link to it, i. e. ln -s /usr/local/Cellar/gcc/7.2.0_1/lib/gcc/7/libgomp.dylib /usr/local/lib/libgomp.dylib

Step-by-step guide

### Remove all align(sizeof(T)) from following files: ###

### constexpr ###

Change:


class Variant { public: //constexpr Variant() noexcept = default; Variant() noexcept = default; ``` ### Steps: ###

Building Tensorflow 1.5.0 on MacOS with CUDA GPU - January 21, 2018 - mw