aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/c
diff options
context:
space:
mode:
authorGravatar bstriner <bstriner@gmail.com>2018-08-14 05:18:43 -0400
committerGravatar bstriner <bstriner@gmail.com>2018-08-14 05:18:43 -0400
commit60ea4be9ac3bdbee55dee9b011b151971dfae5ad (patch)
tree0d0f5b4fb736de5c668e1dd26e9f32ce8a0263a2 /tensorflow/c
parent0bfe6381f25a686999cfb77a685a698ceb86f7b4 (diff)
rename enable
Diffstat (limited to 'tensorflow/c')
-rwxr-xr-x[-rw-r--r--]tensorflow/c/eager/c_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/c/eager/c_api.h b/tensorflow/c/eager/c_api.h
index db0079b0de..eec2750d6e 100644..100755
--- a/tensorflow/c/eager/c_api.h
+++ b/tensorflow/c/eager/c_api.h
@@ -76,7 +76,7 @@ typedef enum TFE_ContextDevicePlacementPolicy {
// 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 enable);
TF_CAPI_EXPORT extern void TFE_ContextOptionsSetDevicePlacementPolicy(
TFE_ContextOptions*, TFE_ContextDevicePlacementPolicy);
@@ -114,7 +114,7 @@ TFE_ContextGetDevicePlacementPolicy(TFE_Context*);
// Overrides the execution mode (sync/async) for the current thread.
TF_CAPI_EXPORT extern void TFE_ContextSetAsyncForThread(TFE_Context*,
- unsigned char async_,
+ unsigned char enable,
TF_Status* status);
// A tensorflow.ServerDef specifies remote workers (in addition to the current