0

Just as the title asks. Both

let blockReducer = BlockReduce.RakingCommutativeOnly<float32>(dims,DeviceArch.Create("sm35"))

and

let blockReducer = BlockReduce.RakingCommutativeOnly<float32>(dims,worker.Device.Arch)

fail on compilation.

Marko Grdinić
  • 3,798
  • 3
  • 18
  • 21

1 Answers1

0

Actually, let blockReducer = BlockReduce.RakingCommutativeOnly<float32>(dims,worker.Device.Arch) should be called outside the kernel. Then there are no problems at all.

Marko Grdinić
  • 3,798
  • 3
  • 18
  • 21