Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointer argument (at 2) cannot be accessed from Triton (cpu tensor?) #113

Open
mahao18cm opened this issue Aug 23, 2024 · 0 comments
Open

Comments

@mahao18cm
Copy link

When i try to visualize the vim, i find the question.
if not warmup:
args = [arg.value for arg in args if not arg.param.is_constexpr]
kernel.run(grid_0, grid_1, grid_2, kernel.num_warps, kernel.num_ctas, # number of warps/ctas per instance
kernel.cluster_dims[0], kernel.cluster_dims[1], kernel.cluster_dims[2], # cluster
kernel.shared, stream, kernel.function, CompiledKernel.launch_enter_hook,
CompiledKernel.launch_exit_hook, kernel,
*driver.assemble_tensormap_to_arg(kernel.metadata["tensormaps_info"], args))
return kernel
File "/home/haoma/.conda/envs/vim/lib/python3.10/site-packages/triton/runtime/jit.py", line 429, in run
kernel.run(grid_0, grid_1, grid__2, kernel.num_warps, kernel.num_ctas, # number of warps/ctas per instance
ValueError: Pointer argument (at 2) cannot be accessed from Triton (cpu tensor?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant