Skip to content

Commit 9ff3ff2

Browse files
rxweidan-zheng
authored andcommitted
---
yaml --- r: 338815 b: refs/heads/rxwei-patch-1 c: a0a9c9a h: refs/heads/master i: 338813: cc644a5 338811: f24323b 338807: 25baace 338799: afc5b6a 338783: c280c2c 338751: 436acfd 338687: d79809c
1 parent 803efa9 commit 9ff3ff2

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-08-18-a: b10b1fce14385faa6d44f6b933e95
10151015
refs/heads/rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch: a14e64eaad30de89f0f5f0b2a782eed7ecdcb255
10161016
refs/heads/revert-19006-error-bridging-integer-type: 8a9065a3696535305ea53fe9b71f91cbe6702019
10171017
refs/heads/revert-19050-revert-19006-error-bridging-integer-type: ecf752d54b05dd0a20f510f0bfa54a3fec3bcaca
1018-
refs/heads/rxwei-patch-1: 1232934541238a7a97e462edb308bf80ae86e80f
1018+
refs/heads/rxwei-patch-1: a0a9c9a1e25e62b3fb6d6b2bf8928c4ed26660cd
10191019
refs/heads/shahmishal-patch-1: e58ec0f7488258d42bef51bc3e6d7b3dc74d7b2a
10201020
refs/heads/typelist-existential: 4046359efd541fb5c72d69a92eefc0a784df8f5e
10211021
refs/tags/swift-4.2-DEVELOPMENT-SNAPSHOT-2018-08-20-a: 4319ba09e4fb8650ee86061075c74a016b6baab9

branches/rxwei-patch-1/test/TensorFlow/deabstraction_finished.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public func testConvolution(x: Tensor<Float>, filter: Tensor<Float>) -> Tensor<F
134134
}
135135

136136
/* CHECK-LABEL: ---- INPUT FUNCTION {{.*}}testConvolution
137-
* CHECK: graph_op "Conv2D"({{.*}} : $TensorHandle<Float>, {{.*}} : $TensorHandle<Float>) {T$dtype: i32 1, strides: [$Int32: (i32 1), (i32 2), (i32 3), (i32 4)], use_cudnn_on_gpu: i1 -1, padding: "SAME", data_format: "NHWC", dilations: [$Int32: (i32 1), (i32 1), (i32 1), (i32 1)],
137+
* CHECK: graph_op "Conv2D"({{.*}} : $TensorHandle<Float>, {{.*}} : $TensorHandle<Float>) {T$dtype: i32 1, strides: [$Int32: (i32 1), (i32 2), (i32 3), (i32 4)], use_cudnn_on_gpu: i1 -1, padding: "SAME", explicit_paddings: [$Int32: ], data_format: "NHWC", dilations: [$Int32: (i32 1), (i32 1), (i32 1), (i32 1)],
138138
* CHECK-LABEL: ---- END OF
139139
*/
140140

branches/rxwei-patch-1/test/TensorFlow/no_copy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public func testConvolution(x: Tensor<Float>, filter: Tensor<Float>) -> Tensor<F
5252
// CHECK-LABEL: --- TFPartition Accelerator Result: {{.*}}testConvolution
5353
// CHECK: sil private @{{.*}}testConvolution{{.*}} : $@callee_owned (TensorHandle<Float>, TensorHandle<Float>) -> TensorHandle<Float> {
5454
// CHECK: bb0(%0 : @unowned $TensorHandle<Float>, %1 : @unowned $TensorHandle<Float>):
55-
// CHECK: [[A:%.*]] = graph_op "Conv2D"(%0 : $TensorHandle<Float>, %1 : $TensorHandle<Float>) {T$dtype: i32 1, strides: [$Int32: (i32 1), (i32 2), (i32 3), (i32 4)], use_cudnn_on_gpu: i1 -1, padding: "SAME", data_format: "NHWC", dilations: [$Int32: (i32 1), (i32 1), (i32 1), (i32 1)], __device: "/job:localhost/replica:0/task:0/device:CPU:0"} : $TensorHandle<Float>
55+
// CHECK: [[A:%.*]] = graph_op "Conv2D"(%0 : $TensorHandle<Float>, %1 : $TensorHandle<Float>) {T$dtype: i32 1, strides: [$Int32: (i32 1), (i32 2), (i32 3), (i32 4)], use_cudnn_on_gpu: i1 -1, padding: "SAME", explicit_paddings: [$Int32: ], data_format: "NHWC", dilations: [$Int32: (i32 1), (i32 1), (i32 1), (i32 1)], __device: "/job:localhost/replica:0/task:0/device:CPU:0"} : $TensorHandle<Float>
5656
// CHECK-NEXT: return [[A]] : $TensorHandle<Float>
5757
// CHECK-NEXT:}
5858

branches/rxwei-patch-1/test/TensorFlowRuntime/collective.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ CollectiveTests.testAllBackends("ConfigTest") {
2525
CollectiveTests.testAllBackends("SingletonGroup") {
2626
let x = Tensor<Float>(1.0)
2727
let t = Raw.collectiveReduce(x, groupSize: 1, groupKey: 1, instanceKey: 1,
28-
mergeOp: .add, finalOp: .id, subdivOffsets: [0])
28+
mergeOp: .add, finalOp: .id, subdivOffsets: [0],
29+
waitFor: [])
2930
_hostOp(t)
3031
expectEqualWithScalarTensor(1, t)
3132
}
@@ -76,7 +77,7 @@ CollectiveTests.testAllBackends("GroupWithSize2_threads") {
7677
_runOnNDevices(2) { i in
7778
withDevice(.cpu, UInt(i)) {
7879
let t = Raw.collectiveReduce(x, groupSize: 2, groupKey: 3, instanceKey: 3,
79-
mergeOp: .add, finalOp: .id, subdivOffsets: [0])
80+
mergeOp: .add, finalOp: .id, subdivOffsets: [0], waitFor: [])
8081

8182
_hostOp(t)
8283
expectEqualWithScalarTensor(2, t)

branches/rxwei-patch-1/utils/update_checkout/update-checkout-config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@
240240
"swift-xcode-playground-support": "swift-DEVELOPMENT-SNAPSHOT-2018-11-26-a",
241241
"ninja": "253e94c1fa511704baeb61cf69995bbf09ba435e",
242242
"icu": "release-61-1",
243-
"tensorflow": "7818652c950b1b1922efe5f4345886058d0ffba5",
244-
"tensorflow-swift-bindings": "c852b63b6ac3c4b53199aab96c021501978b843d",
245-
"tensorflow-swift-apis": "8264ac065fa3299cbbefe3eb4ab4d65f0b6faf4f"
243+
"tensorflow": "5e8df789cc30098d791475c14a623ec68b50b4ed",
244+
"tensorflow-swift-bindings": "0957744551614e433dbabc725cba29ff5ddb91d3",
245+
"tensorflow-swift-apis": "18f937191bdc9ddbe5df8f99f0dc64e1a4c0ffab"
246246
}
247247
}
248248
}

0 commit comments

Comments
 (0)