Skip to content

Commit

Permalink
Merge pull request #548 from hoshinohikari/master
Browse files Browse the repository at this point in the history
Resolve issues that arise while compiling the code
  • Loading branch information
rigaya authored Jan 18, 2024
2 parents 2a3d1c1 + d0e8d22 commit eb2f7ee
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions NVEncCore/NVEncFilterResize.cu
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ const TCHAR *NVRTC_BUILTIN_DLL_NAME_TSTR = _T("nvrtc-builtins64_116.dll");
#elif __CUDACC_VER_MAJOR__ == 11 && __CUDACC_VER_MINOR__ == 7
const TCHAR *NVRTC_DLL_NAME_TSTR = _T("nvrtc64_117_0.dll");
const TCHAR *NVRTC_BUILTIN_DLL_NAME_TSTR = _T("nvrtc-builtins64_117.dll");
#elif __CUDACC_VER_MAJOR__ == 11 && __CUDACC_VER_MINOR__ == 8
const TCHAR* NVRTC_DLL_NAME_TSTR = _T("nvrtc64_112_0.dll");
const TCHAR* NVRTC_BUILTIN_DLL_NAME_TSTR = _T("nvrtc-builtins64_118.dll");
#elif __CUDACC_VER_MAJOR__ == 12 && __CUDACC_VER_MINOR__ == 0
const TCHAR *NVRTC_DLL_NAME_TSTR = _T("nvrtc64_120_0.dll");
const TCHAR *NVRTC_BUILTIN_DLL_NAME_TSTR = _T("nvrtc-builtins64_120.dll");
Expand Down
4 changes: 2 additions & 2 deletions NVEncCore/rgy_prm.h
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ const CX_DESC list_vpp_nnedi_error_type[] = {
{ NULL, 0 }
};

const CX_DESC list_vpp_deband[] = {
/*const CX_DESC list_vpp_deband[] = {
{ _T("0 - 1点参照"), 0 },
{ _T("1 - 2点参照"), 1 },
{ _T("2 - 4点参照"), 2 },
Expand All @@ -651,7 +651,7 @@ const CX_DESC list_vpp_deband_en[] = {
{ _T("2 - 4pixel ref"), 2 },
{ NULL, 0 }
};
static_assert(_countof(list_vpp_deband) == _countof(list_vpp_deband_en), "_countof(list_vpp_deband) == _countof(list_vpp_deband_en)");
static_assert(_countof(list_vpp_deband) == _countof(list_vpp_deband_en), "_countof(list_vpp_deband) == _countof(list_vpp_deband_en)");*/

const CX_DESC list_vpp_rotate[] = {
{ _T("90"), 90 },
Expand Down
7 changes: 7 additions & 0 deletions cudaver.props
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@
<CUDA_CODE_GEN>compute_50,compute_50;compute_61,compute_61;compute_75,compute_75;compute_86,compute_86</CUDA_CODE_GEN>
<NVRTC_DLL_NAME>nvrtc64_117_0.dll</NVRTC_DLL_NAME>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="'$(CUDA_PATH)' == '$(CUDA_PATH_V11_8)'" >
<CUDA_MAJOR_VER>11</CUDA_MAJOR_VER>
<CUDA_MINOR_VER>8</CUDA_MINOR_VER>
<CUDA_VER>$(CUDA_MAJOR_VER).$(CUDA_MINOR_VER)</CUDA_VER>
<CUDA_CODE_GEN>compute_50,compute_50;compute_61,compute_61;compute_75,compute_75;compute_86,compute_86</CUDA_CODE_GEN>
<NVRTC_DLL_NAME>nvrtc64_112_0.dll</NVRTC_DLL_NAME>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition="'$(CUDA_PATH)' == '$(CUDA_PATH_V12_0)'" >
<CUDA_MAJOR_VER>12</CUDA_MAJOR_VER>
<CUDA_MINOR_VER>0</CUDA_MINOR_VER>
Expand Down

0 comments on commit eb2f7ee

Please sign in to comment.