c.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:kernel_tuner 作者: benvanwerkhoven 项目源码 文件源码
def memset(self, allocation, value, size):
        """set the memory in allocation to the value in value

        :param allocation: A memory allocation unit
        :type allocation: pycuda.driver.DeviceAllocation

        :param value: The value to set the memory to
        :type value: a single 32-bit float or int

        :param size: The size of to the allocation unit in bytes
        :type size: int
        """
        C.memset(allocation, value, size)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号