Skip to content

Instantly share code, notes, and snippets.

View dbarnes's full-sized avatar

Dan Barnes dbarnes

View GitHub Profile
@dbarnes
dbarnes / # opencv3 - 2017-08-05_13-23-03.txt
Created August 5, 2017 12:27
opencv3 (homebrew/science/opencv3) on macOS 10.12.5 - Homebrew build logs
Homebrew build logs for homebrew/science/opencv3 on macOS 10.12.5
Build date: 2017-08-05 13:23:03
@dbarnes
dbarnes / opengl-select-renderer.cpp
Last active July 23, 2017 11:28
Multi-GPU OpenGL on OSX with GLFW3.3
// Post here:
// Multi-GPU OpenGL on OSX with GLFW3.3
// https://medium.com/@danbarnes333/multi-gpu-opengl-on-osx-with-glfw3-3-6b0dab55467d
// Note: I’ve left in a lot of information gathering about the OpenGL Renderers that I thought
// might be helpful to those looking and can be deleted if you want more optimal code.
// For example if you dont know the virtual screen no. up front you could cycle through the
// renderers to find the desired virtual screen, checking they are:
// i) - accelerated (i.e. GPU)
// ii) - offline (renderers not connected to a display, i.e. second GPU on Mac Pro)
@dbarnes
dbarnes / OSX Sierra + Titan Xp eGPU. Tensorflow 1.2.1. + CUDA 8 + cuDNN 6.md
Last active March 28, 2020 19:23
OSX Sierra + Titan Xp eGPU. Tensorflow 1.2.1. + CUDA 8 + cuDNN 6

OSX Sierra + Titan Xp eGPU. Tensorflow 1.2.1. + CUDA 8 + cuDNN 6

This gist summarises the tensorflow related steps I took to get the above combo working.

When its all tested in c++ I'll update the instructions fully (and add anything I forgot below).

But in summary ( with the current master dd06643cf098ed362212ce0f76ee746951466e81 ):

I have uploaded the pip wheel which I believe should work if you have the same setup but no promises (built for compute capability 3.5, 5.2, 6.0 and named tensorflow-gpu). Install with (not sure dropbox allows this direct linking):