-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
$ dstep --version
1.0.3-2-g2f6e8ae
$ dstep /usr/include/cuda_runtime_api.h -o cuda_runtime_api.d
# but the generated file cannot be compiled:
source/cuda_runtime_api.d(3625,13): Error: undefined identifier `cudaError_t`
source/cuda_runtime_api.d(3625,13): Error: undefined identifier `cudaExternalSemaphore_t`
source/cuda_runtime_api.d(3625,13): Error: undefined identifier `cudaExternalSemaphoreSignalParams`
source/cuda_runtime_api.d(3625,13): Error: undefined identifier `cudaStream_t`
source/cuda_runtime_api.d(3701,13): Error: undefined identifier `cudaError_t`
source/cuda_runtime_api.d(3701,13): Error: undefined identifier `cudaExternalSemaphore_t`
source/cuda_runtime_api.d(3701,13): Error: undefined identifier `cudaExternalSemaphoreWaitParams`
source/cuda_runtime_api.d(3701,13): Error: undefined identifier `cudaStream_t`
source/cuda_runtime_api.d(158,22): Error: undefined identifier `__device__`
source/cuda_runtime_api.d(200,13): Error: undefined identifier `cudaError_t`
source/cuda_runtime_api.d(221,13): Error: undefined identifier `cudaError_t`
source/cuda_runtime_api.d(308,13): Error: undefined identifier `cudaError_t`
source/cuda_runtime_api.d(308,13): Error: undefined identifier `cudaLimit`
source/cuda_runtime_api.d(343,13): Error: undefined identifier `cudaError_t`
source/cuda_runtime_api.d(343,13): Error: undefined identifier `cudaLimit`
source/cuda_runtime_api.d(365,13): Error: undefined identifier `cudaError_t`
source/cuda_runtime_api.d(365,13): Error: undefined identifier `cudaChannelFormatDesc`
source/cuda_runtime_api.d(398,13): Error: undefined identifier `cudaError_t`
source/cuda_runtime_api.d(398,13): Error: undefined identifier `cudaFuncCache`
source/cuda_runtime_api.d(435,13): Error: undefined identifier `cudaError_t`
Shall this generated cuda_runtime_api.d
be self-contained? or I need to find the .h which defined cudaError_t, and include those files in the D/step build?
Metadata
Metadata
Assignees
Labels
No labels