Skip to content

Instantly share code, notes, and snippets.

kernel void _ZN5Eigen8internal15EigenMetaKernelINS_15TensorEvaluatorIKNS_14TensorAssignOpINS_9TensorMapINS_6TensorIfLi2ELi0ElEELi0ENS_11MakePointerEEEKNS_17TensorReductionOpINS0_10MaxReducerIfEEKNS_5arrayIlLm2EEEKNS4_INS5_IfLi4ELi0ElEELi0ES7_EEEEEENS_9GpuDeviceEEElEEvT_T0_(global struct Eigen__TensorEvaluator_5_nopointers* eval_nopointers, global float* eval_ptr0, long eval_ptr_offset0, global float* eval_ptr1, long eval_ptr_offset1, global float* eval_ptr2, long eval_ptr_offset2, long size) {
float accum_0_i_i_i;
float accum_1_i_i_i;
float accum_1_i_i_i_unr;
float accum_2_i_i_i_1_lcssa;
float accum_2_i_i_i_lcssa;
float accum_2_i_i_i_lcssa_unr;
float accum_3_i_i_i;
float accum_3_i_i_i_lcssa;
long i_01_i;
I tensorflow/core/common_runtime/simple_placer.cc:819] Variable_1: /job:localhost/replica:0/task:0/cpu:0
Variable_1/read: /job:localhost/replica:0/task:0/cpu:0
I tensorflow/core/common_runtime/simple_placer.cc:819] Variable_1/read: /job:localhost/replica:0/task:0/cpu:0
Variable_1/Assign: /job:localhost/replica:0/task:0/cpu:0
I tensorflow/core/common_runtime/simple_placer.cc:819] Variable_1/Assign: /job:localhost/replica:0/task:0/cpu:0
Variable: /job:localhost/replica:0/task:0/cpu:0
I tensorflow/core/common_runtime/simple_placer.cc:819] Variable: /job:localhost/replica:0/task:0/cpu:0
Assign: /job:localhost/replica:0/task:0/cpu:0
I tensorflow/core/common_runtime/simple_placer.cc:819] Assign: /job:localhost/replica:0/task:0/cpu:0
Variable/read: /job:localhost/replica:0/task:0/cpu:0
(env3cl) ubuntu@peach:~/git/tensorflow-blas$ python tensorflow/stream_executor/cl/test/test_gradients.py
CLBlas::initialize_cublas()
Using NVIDIA Corporation , OpenCL platform: NVIDIA CUDA
Using OpenCL device: GeForce 940M
X [[ 1. 0. 1. 0.]
[ 1. 0. 0. 1.]
[ 0. 1. 1. 0.]
[ 0. 1. 0. 1.]]
y [[ 1. 0.]
[ 0. 1.]
@hughperkins
hughperkins / install-tensorflow.sh
Created October 12, 2016 08:37 — forked from erikbern/install-tensorflow.sh
Installing TensorFlow on EC2
# Note – this is not a bash script (some of the steps require reboot)
# I named it .sh just so Github does correct syntax highlighting.
#
# This is also available as an AMI in us-east-1 (virginia): ami-cf5028a5
#
# The CUDA part is mostly based on this excellent blog post:
# http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/
# Install various packages
sudo apt-get update
$ py.test -sv test/test_inline_refcount.py -k test2
============================= test session starts ==============================
platform linux2 -- Python 2.7.11+, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- [deleted]/bin/python2.7
cachedir: .cache
rootdir: [deleted]/pytorch, inifile: pytest.ini
plugins: pep8-1.0.6
collecting ... collected 3 items
test/test_inline_refcount.py::test_inline_refcount_test2 <TestInlineRefCount> initialization
torch.setdefaulttensortype('torch.FloatTensor')
local TorchClass = torch.class('TorchClass')
function TorchClass:__init()
Script started on Wed 21 Sep 2016 06:38:18 BST
]0;bash /tmpubuntu@peach:/tmp$ virtualenv -p python3 env3
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /tmp/env3/bin/python3
Also creating executable in /tmp/env3/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
]0;bash /tmpubuntu@peach:/tmp$ source env3/bin/activate
(env3) ]0;bash /tmpubuntu@peach:/tmp$ git clone https://github.com/hughperkins/pytorch
Cloning into 'pytorch'...
Started by user hughperkins
Building remotely on msvc2015 (windows) in workspace c:\jenkins\workspace\torch-win64
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/hughperkins/distro
> c:\program files\git\bin\git init c:\jenkins\workspace\torch-win64 # timeout=10
Fetching upstream changes from https://github.com/hughperkins/distro
> c:\program files\git\bin\git --version # timeout=10
> c:\program files\git\bin\git -c core.askpass=true fetch --tags --progress https://github.com/hughperkins/distro +refs/heads/*:refs/remotes/origin/*
> c:\program files\git\bin\git config remote.origin.url https://github.com/hughperkins/distro # timeout=10
Started by user hughperkins
Building remotely on msvc2015 (windows) in workspace c:\jenkins\workspace\torch-win64
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/hughperkins/distro
> c:\program files\git\bin\git init c:\jenkins\workspace\torch-win64 # timeout=10
Fetching upstream changes from https://github.com/hughperkins/distro
> c:\program files\git\bin\git --version # timeout=10
> c:\program files\git\bin\git -c core.askpass=true fetch --tags --progress https://github.com/hughperkins/distro +refs/heads/*:refs/remotes/origin/*
> c:\program files\git\bin\git config remote.origin.url https://github.com/hughperkins/distro # timeout=10
Started by user hughperkins
Building remotely on msvc2015 (windows) in workspace c:\jenkins\workspace\torch-win64
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/hughperkins/distro
> c:\program files\git\bin\git init c:\jenkins\workspace\torch-win64 # timeout=10
Fetching upstream changes from https://github.com/hughperkins/distro
> c:\program files\git\bin\git --version # timeout=10
> c:\program files\git\bin\git -c core.askpass=true fetch --tags --progress https://github.com/hughperkins/distro +refs/heads/*:refs/remotes/origin/*
> c:\program files\git\bin\git config remote.origin.url https://github.com/hughperkins/distro # timeout=10