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

"go install gorgonia.org/gorgonia/cmd/cudagen" - could not determine kind of name for C.CU_TARGET_COMPUTE_20 #563

Open
darkprof83 opened this issue May 4, 2024 · 2 comments

Comments

@darkprof83
Copy link

$ go install gorgonia.org/gorgonia/cmd/cudagen
# gorgonia.org/cu
../../golang/pkg/mod/gorgonia.org/cu@v0.9.4/jit.go:138:32: could not determine kind of name for C.CU_TARGET_COMPUTE_20
../../golang/pkg/mod/gorgonia.org/cu@v0.9.4/jit.go:139:32: could not determine kind of name for C.CU_TARGET_COMPUTE_21

cuda, cuda-tools 12.3.2-1
manjaro

@darkprof83
Copy link
Author

And cuda 12.3.2

typedef struct CUDA_KERNEL_NODE_PARAMS_v2_st {
    CUfunction func;             /**< Kernel to launch */
    unsigned int gridDimX;       /**< Width of grid in blocks */
    unsigned int gridDimY;       /**< Height of grid in blocks */
    unsigned int gridDimZ;       /**< Depth of grid in blocks */
    unsigned int blockDimX;      /**< X dimension of each thread block */
    unsigned int blockDimY;      /**< Y dimension of each thread block */
    unsigned int blockDimZ;      /**< Z dimension of each thread block */
    unsigned int sharedMemBytes; /**< Dynamic shared-memory size per thread block in bytes */
    void **kernelParams;         /**< Array of pointers to kernel parameters */
    void **extra;                /**< Extra options */
    CUkernel kern;               /**< Kernel to launch, will only be referenced if func is NULL */
    CUcontext ctx;               /**< Context for the kernel task to run in. The value NULL will indicate the current context should be used by the api. This field is ignored if func is set. */
} CUDA_KERNEL_NODE_PARAMS_v2;

@neurlang
Copy link

caused by this issue: gorgonia/cu#66

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

2 participants