[FFmpeg-trac] #9019(avfilter:new): CUDA Compile Broken Using MSVC

FFmpeg trac at avcodec.org
Fri Dec 4 01:24:38 EET 2020


#9019: CUDA Compile Broken Using MSVC
-------------------------------------+-------------------------------------
             Reporter:  dbigler      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  cuda         |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => cuda regression
 * priority:  critical => important


Old description:

> The following commit breaks the CUDA build using the MSVC compiler:
> http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=cfdddec0c832a67da8a0081a32ae2c7127ce2368
>
> Using MSVC 2015 generates the following error:
> libavfilter/vf_scale_cuda_bicubic.ptx.c(1925): fatal error C1091:
> compiler limit: string exceeds 65535 bytes in length
>
> Using MSVC 2019 the following error is generated:
> libavfilter/vf_scale_cuda_bicubic.ptx.c(2818): fatal error C1060:
> compiler is out of heap space
>
> It looks like an alternate method for converting the ptx contents to
> const char [] needs to be implemented such that a string literal is not
> used like a const char [] assigned an array of integers.

New description:

 The following commit breaks the CUDA build using the MSVC compiler:
 cfdddec0c832a67da8a0081a32ae2c7127ce2368

 Using MSVC 2015 generates the following error:
 libavfilter/vf_scale_cuda_bicubic.ptx.c(1925): fatal error C1091: compiler
 limit: string exceeds 65535 bytes in length

 Using MSVC 2019 the following error is generated:
 libavfilter/vf_scale_cuda_bicubic.ptx.c(2818): fatal error C1060: compiler
 is out of heap space

 It looks like an alternate method for converting the ptx contents to const
 char [] needs to be implemented such that a string literal is not used
 like a const char [] assigned an array of integers.

--

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9019#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list