summaryrefslogtreecommitdiffstats
path: root/tools/gfx/cuda/cuda-shader-program.cpp
blob: 73e0c3c190eac33d60c9258eff780b9e0ad72fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// cuda-shader-program.cpp
#include "cuda-shader-program.h"

namespace gfx
{
#ifdef GFX_ENABLE_CUDA
using namespace Slang;

namespace cuda
{

ShaderProgramImpl::~ShaderProgramImpl()
{
    if (cudaModule)
        cuModuleUnload(cudaModule);
}

} // namespace cuda
#endif
} // namespace gfx