Skip to content

Commit

Permalink
Remove old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed Mar 21, 2017
1 parent 63680c3 commit e8654a9
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,19 +232,6 @@ object DifferentiableKernel {
val (program, inputSetter) = forwardProgram.await
val kernel = program.createKernel(ForwardKernelName)
val (expectedSize, inputParameterMap) = input
//
// val dimension = if (device.capabilities.OpenCL20) {
// Dimension(0L, expectedSize, device.maxWorkItemSizes.get(0))
// } else {
// val localWorkSize = math.min(device.maxWorkGroupSize.toLong, device.maxWorkItemSizes.get(0))
// val mod = expectedSize % localWorkSize
// if (mod == 0) {
// Dimension(0L, expectedSize, localWorkSize)
// } else {
// Dimension(0L, expectedSize + localWorkSize - mod, localWorkSize)
// }
// }
// val paddingSize = dimension.globalWorkSize
val outputBuffer = context.createBuffer[OutputElementData](expectedSize)(outputDataMemory)
inputSetter(kernel, inputParameterMap)
kernel.setArg(inputMetadataMap.size, outputBuffer)
Expand Down

0 comments on commit e8654a9

Please sign in to comment.