Closed Timarrr closed 1 year ago
It looks like a CUDA installation issue but not related to peakperf
. Do you have the helper_cuda.h
file in your system? It should be in $CUDA_HOME/samples/common/inc/
It looks like a CUDA installation issue but not related to
peakperf
. Do you have thehelper_cuda.h
file in your system? It should be in$CUDA_HOME/samples/common/inc/
I cannot find this file, even though i tried reinstalling CUDA
It looks like a CUDA installation issue but not related to
peakperf
. Do you have thehelper_cuda.h
file in your system? It should be in$CUDA_HOME/samples/common/inc/
I cannot find this file, even though i tried reinstalling CUDA
Hmmmm...I think that I might found the problem. From the picture you have attached, I can see that you are running Arch Linux (or any derivative). Looking at the cuda
package in Arch, I have found that it does not include the helper_cuda.h
, so you need to install another package, cuda-tools
. This is clearly a bug in the peakperf
's PKGBUILD
file because it only requires the package cuda
to build peakperf
. Can you confirm this is the issue?
I had the same issue as OP on Arch, CUDA v11.6. First installed cuda-tools
, which created the $CUDA_HOME/samples/
directory, but just with a text file saying they've moved the samples to a cuda-samples repo. I cloned the repo, copied the contents of the Common
directory to $CUDA_HOME/samples/common
and moved all *.h
files to an inc
subdirectory, i.e. $CUDA_HOME/samples/common/inc
. It's not pretty, but at least it fixed it.
I had the same issue as OP on Arch, CUDA v11.6. First installed
cuda-tools
, which created the$CUDA_HOME/samples/
directory, but just with a text file saying they've moved the samples to a cuda-samples repo. I cloned the repo, copied the contents of theCommon
directory to$CUDA_HOME/samples/common
and moved all*.h
files to aninc
subdirectory, i.e.$CUDA_HOME/samples/common/inc
. It's not pretty, but at least it fixed it.
It's not the same issue: note that CUDA v11.6 was not released when the OP posted the issue. I am aware of the issue on CUDA v11.6 and newer and will push a fix for that soon. Thanks for the remainder, tough :+1:
I had the same issue as OP on Arch, CUDA v11.6. First installed
cuda-tools
, which created the$CUDA_HOME/samples/
directory, but just with a text file saying they've moved the samples to a cuda-samples repo. I cloned the repo, copied the contents of theCommon
directory to$CUDA_HOME/samples/common
and moved all*.h
files to aninc
subdirectory, i.e.$CUDA_HOME/samples/common/inc
. It's not pretty, but at least it fixed it.
I just pushed a fix for this problem. Probably not the most elegant solution, but it's the best way I can think of to circumvent the issue. Anyway, peakperf
does not achieve peak performance on Ampere GPUs, this is something I still need to fix.
This should be fixed thanks to 3d9b73f, closing the issue.