Merge Bug 5199167: Fix the includes issue for 5_Domain_Specific\simpleD3D12

See merge request cuda-samples/cuda-samples!106
This commit is contained in:
Rob Armstrong 2025-04-21 08:11:52 -07:00
commit 49daf0e4e0
3 changed files with 16 additions and 0 deletions

View File

@ -52,6 +52,9 @@ The MIT License (MIT)
#pragma once
#include <d3d12.h>
#include <dxgi1_6.h>
#include "DXSampleHelper.h"
#include "Win32Application.h"

View File

@ -52,7 +52,13 @@ The MIT License (MIT)
#pragma once
// includes for Windows
#include <d3d12.h> // DirectX 12 header
#include <stdexcept>
#include <windows.h> // Windows Platform SDK - must come first
#include <wrl.h> // For basic WRL support
#include <wrl/client.h> // For ComPtr
#include <wrl/wrappers/corewrappers.h> // For Wrappers::FileHandle
// Note that while ComPtr is used to manage the lifetime of resources on the
// CPU, it has no understanding of the lifetime of resources on the GPU. Apps
// must account for the GPU lifetime of resources to avoid destroying objects

View File

@ -27,8 +27,15 @@
#pragma once
#include <DirectXMath.h>
#include <d3d12.h>
#include <d3dcompiler.h>
#include <dxgi1_6.h>
#include <wrl.h>
#include "DX12CudaSample.h"
#include "ShaderStructs.h"
#include "d3dx12.h"
using namespace DirectX;