Skip to content

build fail. GPU is 6000D. #134

Description

@PaggyZhang

make
g++ -O3 -Wno-unused-result -I/usr/local/cuda/include -std=c++11 -DIS_JETSON=false -c gpu_burn-drv.cpp
gpu_burn-drv.cpp: In constructor ‘GPU_Test::GPU_Test(int, bool, bool, const char*)’:
gpu_burn-drv.cpp:113:48: error: too few arguments to function ‘CUresult cuCtxCreate_v4(CUctx_st**, CUctxCreateParams*, unsigned int, CUdevice)’
checkError(cuCtxCreate(&d_ctx, 0, d_dev));
^
gpu_burn-drv.cpp:98:17: note: in definition of macro ‘checkError’
_checkError(rCode, FILE, LINE, ##VA_ARGS)
^~~~~
In file included from gpu_burn-drv.cpp:65:
/usr/local/cuda/include/cuda.h:90:45: note: declared here
#define cuCtxCreate cuCtxCreate_v4
^~~~~~~~~~~~~~
/usr/local/cuda/include/cuda.h:6275:18: note: in expansion of macro ‘cuCtxCreate’
CUresult CUDAAPI cuCtxCreate(CUcontext *pctx, CUctxCreateParams *ctxCreateParams, unsigned int flags, CUdevice dev);
^~~~~~~~~~~
make: *** [Makefile:45: gpu_burn-drv.o] Error 1

May help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions