Skip to content

Commit 3b15a07

Browse files
committed
Fix --embed_kernels option
1 parent 64fb2de commit 3b15a07

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

RadeonRays/src/accelerator/hlbvh.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ THE SOFTWARE.
3434
#include <iostream>
3535
#include <assert.h>
3636

37+
#ifdef RR_EMBED_KERNELS
38+
#if USE_OPENCL
39+
# include "RadeonRays/src/kernelcache/kernels_cl.h"
40+
#endif
41+
#endif // RR_EMBED_KERNELS
42+
3743
#define INITIAL_TRIANGLE_CAPACITY 100000
3844

3945
namespace RadeonRays

RadeonRays/src/intersector/intersector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ namespace RadeonRays
163163

164164
#ifdef RR_EMBED_KERNELS
165165
#if USE_OPENCL
166-
# include <RadeonRays/src/kernelcache/kernels_cl.h>
166+
# include "RadeonRays/src/kernelcache/kernels_cl.h"
167167
#endif
168168

169169
#if USE_VULKAN

0 commit comments

Comments
 (0)