Skip to content

Cythonize Buffer #756

Description

@leofang

From @shwina

In [15]: mr=DeviceMemoryResource(Device().device_id)
In [16]: %timeitmr.allocate(10)
3.35μs ± 95.1nsperloop (mean ± std. dev. of7runs, 100,000loopseach)
In [17]: %timeitcp.empty(10, dtype=cp.int8)
1.48μs ± 11.4nsperloop (mean ± std. dev. of7runs, 1,000,000loopseach)

Metadata

Metadata

Labels

P0High priority - Must do!cuda.coreEverything related to the cuda.core moduleenhancementAny code-related improvements

Type

No type

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions