forked from clearlinux-pkgs/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcython.patch
22 lines (19 loc) · 1.32 KB
/
cython.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- tensorflow-1.9.0-rc2/tensorflow/c/eager/c_api.h~ 2018-07-02 22:07:51.000000000 +0000
+++ tensorflow-1.9.0-rc2/tensorflow/c/eager/c_api.h 2018-07-06 19:34:09.121676588 +0000
@@ -76,7 +76,7 @@
// Sets the default execution mode (sync/async). Note that this can be
// overridden per thread using TFE_ContextSetAsyncForThread.
TF_CAPI_EXPORT extern void TFE_ContextOptionsSetAsync(TFE_ContextOptions*,
- unsigned char async);
+ unsigned char async_);
TF_CAPI_EXPORT extern void TFE_ContextOptionsSetDevicePlacementPolicy(
TFE_ContextOptions*, TFE_ContextDevicePlacementPolicy);
--- tensorflow-1.9.0-rc2/tensorflow/c/eager/c_api.h~ 2018-07-06 19:34:09.000000000 +0000
+++ tensorflow-1.9.0-rc2/tensorflow/c/eager/c_api.h 2018-07-06 19:52:22.338661368 +0000
@@ -125,7 +125,7 @@
// Overrides the execution mode (sync/async) for the current thread.
TF_CAPI_EXPORT extern void TFE_ContextSetAsyncForThread(TFE_Context*,
- unsigned char async,
+ unsigned char async_,
TF_Status* status);
// Causes the calling thread to block till all ops dispatched in async mode