hughperkins / tf-coriander

OpenCL 1.2 implementation for Tensorflow
Apache License 2.0
791 stars 90 forks source link

Ensure InlinedVector works on Mac, for `InUse` structs #36

Open hughperkins opened 7 years ago

hughperkins commented 7 years ago

InlinedVector doesnt work on Mac, for InUse structs

There is an opportunity for someone to look into why the InlinedVector doesnt work for InUse objects, and specificlaly for objects containing std::function, I think, so we can switch back to InlinedVecvtor.

To start work on this issue:

Benefits of fixing this:

Anything to check before working on this?

By the way, how to fix this?

nicolov commented 6 years ago

I have the same issue with clang 3.8 when using libc++ (which is probably why you only saw this on Mac). The workaround works on Linux too.