       }
       var x10 = _Raw.linSpace(
         start: startTensor, stop: stopTensor, num: X10Tensor_<Int32>(num),
-        device: device)
+        device: .default)
       if useReducedPrecision {
         XCTAssert(x10.isReducedPrecision)
         x10 = x10.toFullPrecision

  }

  func testBF16Construct() {
    let device = x10_device.Device.default
    let scalars: [Float] = [1, 2, 3, 4, 5, 6]
    var actual = X10Tensor(
      shape: [3, 2], scalars: scalars, toReducedPrecision: true, directlyOn: device)
    XCTAssert(actual.isReducedPrecision)
    actual = actual.toFullPrecision
    XCTAssert(!actual.isReducedPrecision)

  }

  func testLinSpace() throws {
    func testRanges(start: Float, stop: Float, num: Int32, useReducedPrecision: Bool) {
      var startTensor = X10Tensor(start)
      var stopTensor = X10Tensor(stop)
