Contents

setThreadgroupMemoryLength(_:at:)

Sets the size of a block of threadgroup memory.

Declaration

func setThreadgroupMemoryLength(_ length: Int, at index: Int)

Parameters

  • length:

    The size of the threadgroup memory, in bytes, which needs to be a multiple of 16 bytes.

  • index:

    The index in the threadgroup memory argument table.

See Also

Setting a command’s arguments