Skip to content

"pip install ." fails with compile error #82

@prarit

Description

@prarit

I am following the instructions here: https://nvidia.github.io/cuda-python/install.html

which state

Develop

You can use

pip install -e .

This results in a compile error


  cuda/cuda.cpp: In function ‘PyObject* __pyx_pf_4cuda_4cuda_28CUlaunchAttributeValue_union_17sharedMemCarveout___get__(__pyx_obj_4cuda_4cuda_CUlaunchAttributeValue_union*)’:
  cuda/cuda.cpp:144834:69: error: ‘union CUlaunchAttributeValue_union’ has no member named ‘sharedMemCarveout’
  144834 |   __pyx_t_1 = __Pyx_PyInt_From_unsigned_int((__pyx_v_self->_ptr[0]).sharedMemCarveout); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 8524, __pyx_L1_error)
         |                                                                     ^~~~~~~~~~~~~~~~~
  cuda/cuda.cpp: In function ‘int __pyx_pf_4cuda_4cuda_28CUlaunchAttributeValue_union_17sharedMemCarveout_2__set__(__pyx_obj_4cuda_4cuda_CUlaunchAttributeValue_union*, unsigned int)’:
  cuda/cuda.cpp:144911:27: error: ‘union CUlaunchAttributeValue_union’ has no member named ‘sharedMemCarveout’
  144911 |   (__pyx_v_self->_ptr[0]).sharedMemCarveout = __pyx_v_sharedMemCarveout;
         |          

I will also note the same error occurs when executing 'pip install cuda-python' in a venv.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions