Repository navigation
[OpenCL] Implementation improvements - #9117
Conversation
|
Can one of the admins verify this patch? |
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
|
Sometimes googlebot gets confused, could you |
* Avoid functions that might not be defined on SYCL device * Simplify by using Eigen math functions
* Registers Scatter and ScatterNd Ops for SYCL * Registers Stack op for SYCL * Fixes No sycl buffer found error for debug ops * Registers MatMul and Transpose Ops to SYCL device for double * Extends analyzer_cli_test.py test to cover SYCL * Fixes Transpose Op for double when on SYCL * Bumps Eigen version to fix double precision issue on SYCL * Extends SessionDebugTestBase to cover SYCL
- Bumps Eigen Version - Refactors Ops registration - Introduces workaround for Const Op related to the difference between CUDA which uses pointers and OpenCL that uses buffers/accessors - Extends memory types to cover DEVICE_SYCL as well - Introduces GetSYCLDevice() method that returns list of supported devices with GPU device having the highest priority ( doesn't include blacklisted devices ) - ::internal::Transpose -> tensorflow::internal::Transpose in order to avoid compilation reported error - re-introduces fix for bugged string replacement causing a lot of compilation warnings -c -> --include - Adds sycl_runtime to bazels ARRAY_DEPS - Replicates TF_CALL_GPU_PROXY_TYPES for SYCL
* Fix testSimple and testConst in stack_op_test * Create a specialisation of DoParallelConcatUpdate for SyclDevice and register it * Guard all code in TENSORFLOW_USE_SYCL * Do not use sycl device for int32 * Registration of the Sycl version is now looking like the one for the GPU * Remove added empty line
… to floating point representation on the device
d00cb70 to
e093efa
Compare
|
@lukeiwanski @googlebot ok with me. |
|
@lukeiwanski @googlebot yes ok with me too. |
53d50fe to
7f24669
Compare
|
Can one of the admins verify this patch? |
|
@benoitsteiner could you please take another look? |
Fixes bazels missing undeclared inclusions that appeared after merge with TensorFlow upstream
|
@tensorflow-jenkins test this please |
|
The MacOs CPU Tests seems to be failing due to a missing dependency in gif_archive.. Is that caused by our changeset or is it present in the upstream? I cannot see how we could cause it. |
|
@lukeiwanski no, the build error on MacOS is unrelated to your changes. |
| fromuser="" | ||
| if [ -z "$HOST_CXX_COMPILER" ]; then | ||
| default_cxx_host_compiler=$(which clang++-3.6 || true) | ||
| default_cxx_host_compiler=$(which g++-4.8 || true) |
There was a problem hiding this comment.
Is there a reason to pin this to a specific gcc/g++ release?
Why not just "which g++"?
This can make configuration more difficult on different machines
There was a problem hiding this comment.
| fromuser="" | ||
| if [ -z "$HOST_C_COMPILER" ]; then | ||
| default_c_host_compiler=$(which clang-3.6 || true) | ||
| default_c_host_compiler=$(which gcc-4.8 || true) |
| # loss and perfect accuracy. | ||
| self.assertLess(metrics['loss'], 0.1) | ||
| self.assertEqual(metrics['accuracy'], 1.0) | ||
| self.assertAlmostEqual(metrics['accuracy'], 1.0, 7) |
There was a problem hiding this comment.
According to the comment above, I am worried about almost equal here. I know 7 digits is very very precise, but still we are making the test looser.
There was a problem hiding this comment.
The reason for that was the fact that sometimes OpenCL represent this value as 0.99999996
Reverting in 1a60452
|
Jenkins, test this please. |
…iler setup for Ubuntu 16.04
…qual due to floating point representation on the device" This reverts commit 06c50c0.
|
Jenkins, test this please. |
OpenCL implementation improvements (#22)
CUDA which uses pointers and OpenCL that uses buffers/accessors
with GPU device having the highest priority ( doesn't include blacklisted devices )
avoid compilation reported error
representation on the device