openppl-public / ppl.cv

ppl.cv is a high-performance image processing library of openPPL supporting various platforms.
Apache License 2.0
484 stars 108 forks source link

build with cuda12 failed #132

Closed AncientRemember closed 6 months ago

AncientRemember commented 6 months ago

[ 98%] Building CUDA object CMakeFiles/pplcv_static.dir/src/ppl/cv/cuda/transpose.cu.o /src/ppl/cv/cuda/warp.hpp(25): error: texture is not a template static texture<uchar, 0x02, ^

/ppl.cv/src/ppl/cv/cuda/warp.hpp(27): error: texture is not a template static texture<uchar4, 0x02, ^

ppl.cv/src/ppl/cv/cuda/warp.hpp(29): error: texture is not a template static texture<float, 0x02, ^

/ppl.cv/src/ppl/cv/cuda/warp.hpp(31): error: texture is not a template static texture<float4, 0x02, ^

/ppl.cv/src/ppl/cv/cuda/warp.hpp(72): error: no instance of overloaded function "tex2D" matches the argument list argument types are: (, float, float) float value = tex2D(uchar_c1_ref, src_x + 0.5f, src_y + 0.5f);

jimurk commented 6 months ago

The texture memory used in ppl.cv cuda isn't supported in CUDA 12, we will support CUDA 12 in the near future.

tp-nan commented 5 months ago

The texture memory used in ppl.cv cuda isn't supported in CUDA 12, we will support CUDA 12 in the near future.

Hi,How is the support progress for CUDA 12