Skip to content

Commit

Permalink
Commenting last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mx7f committed Jul 5, 2017
1 parent 9a7597f commit 06ca4a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion API/src/util.t
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,8 @@ local function iLog2(x)
return result
end


-- Get the block dimensions that best approximate a square/cube
-- in 2 or 3 dimensions while only using power of 2 side lengths.
local function getBlockDims(blockSize)
local LOG_BLOCK_SIZE = iLog2(blockSize)
local dim2x = math.ceil(LOG_BLOCK_SIZE/2)
Expand Down

0 comments on commit 06ca4a7

Please sign in to comment.