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

[BUG]: RuntimeError: CUDA error: no kernel image is available for execution on the device #679

Open
liuhao230 opened this issue Dec 8, 2024 · 1 comment
Labels
type:bug Something isn't working

Comments

@liuhao230
Copy link
Contributor

Description

I am trying to run the example best-practice-ntt but I have the following error showing up

[INFO] selecting CUDA device
log NTT size: 26
Batch size: 1
Init NTT domain
CUDA Runtime Error by: cudaGetLastError at: /icicle/backend/cuda/src/ntt/mixed_radix_ntt.cu:657
no kernel image is available for execution on the device

CUDA Runtime Error by: mxntt::generate_external_twiddles_generic( primitive_root, domain.twiddles, domain.internal_twiddles, domain.basic_twiddles, domain.max_log_size, ctx.stream) at: /icicle/backend/cuda/src/ntt/ntt.cuh:475
no kernel image is available for execution on the device

terminate called after throwing an instance of 'std::runtime_error'
  what():  Icicle API fails with code eIcicleError::UNKNOWN_ERROR in /root/autodl-tmp/icicle_v3/icicle_v3/examples/c++/best-practice-ntt/example.cpp:47
run.sh: line 68:   945 Aborted                 (core dumped) ./build/example/example "$DEVICE_TYPE"

Reproduce

bash run.sh -d CUDA -b /opt/icicle/lib/backend/

Expected Behavior

run 2^26 NTT correctly

Environment

OS + Version: Ubuntu 22.04.1 LTS

Cargo Version: cargo 1.80.1

GPU type: V100-32GB(32GB)

CUDA Driver Version 12.4,

CUDA Runtime Version 11.8

@liuhao230 liuhao230 added the type:bug Something isn't working label Dec 8, 2024
@yshekel
Copy link
Collaborator

yshekel commented Dec 10, 2024

Hi, it's since v100 is compute capability 70 (quite old) and we don't generate code for it.
@ShaniBabayoff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants