Skip to content

cuKernelGetFunction Segmentation fault (core dumped) #129

@CallmeZhangChenchen

Description

@CallmeZhangChenchen
# cuKernelGetAttribute
print('cuKernelGetAttribute')
info = cuda.cuKernelGetAttribute(cuda.CUfunction_attribute.CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK, kernel, cuDevice)
print('cuKernelGetAttribute end, info ', info)


# cuKernelGetFunction
print('cuKernelGetFunction')
cuda.cuKernelGetFunction(kernel)
print('cuKernelGetFunction end, info', info)

cuKernelGetAttribute
cuKernelGetAttribute end, info  (<CUresult.CUDA_SUCCESS: 0>, 1024)
cuKernelGetFunction
Segmentation fault (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions