summaryrefslogtreecommitdiff
path: root/tools/gfx/cuda/cuda-base.h
blob: 11a798636de92563cab45fff39d6e14080f64538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// cuda-base.h
// Shared header file for CUDA implementation
#pragma once

#ifdef GFX_ENABLE_CUDA
#include "../command-encoder-com-forward.h"
#include "../command-writer.h"
#include "../mutable-shader-object.h"
#include "../renderer-shared.h"
#include "../simple-transient-resource-heap.h"
#include "../slang-context.h"
#include "core/slang-basic.h"
#include "core/slang-blob.h"
#include "core/slang-std-writers.h"
#include "slang-com-helper.h"
#include "slang-com-ptr.h"
#include "slang.h"

#include <cuda.h>

#ifdef RENDER_TEST_OPTIX

// The `optix_stubs.h` header produces warnings when compiled with MSVC
#ifdef _MSC_VER
#pragma warning(disable : 4996)
#endif

#include <optix.h>
#include <optix_function_table_definition.h>
#include <optix_stubs.h>
#endif

#endif

namespace gfx
{
namespace cuda
{
class CUDAContext;
class BufferResourceImpl;
class TextureResourceImpl;
class ResourceViewImpl;
class ShaderObjectLayoutImpl;
class RootShaderObjectLayoutImpl;
class ShaderObjectImpl;
class MutableShaderObjectImpl;
class EntryPointShaderObjectImpl;
class RootShaderObjectImpl;
class ShaderProgramImpl;
class PipelineStateImpl;
class QueryPoolImpl;
class DeviceImpl;
class CommandBufferImpl;
class ResourceCommandEncoderImpl;
class ComputeCommandEncoderImpl;
class CommandQueueImpl;
} // namespace cuda
} // namespace gfx