Advertisement
illwieckz

LuxMark 3 LuxBall on clvk

Oct 14th, 2023
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.85 KB | None | 0 0
  1. LuxMark v3.1
  2. Based on LuxCore v1.5
  3. [LuxRays] OpenCL Platform 0: clvk
  4. [LuxRays] Device 0 name: NativeThread
  5. [LuxRays] Device 0 type: NATIVE_THREAD
  6. [LuxRays] Device 0 compute units: 1
  7. [LuxRays] Device 0 preferred float vector width: 4
  8. [LuxRays] Device 0 max allocable memory: 0MBytes
  9. [LuxRays] Device 0 max allocable memory block size: 0MBytes
  10. [LuxRays] Device 1 name: AMD Radeon Graphics (RADV GFX1102)
  11. [LuxRays] Device 1 type: OPENCL_UNKNOWN
  12. [LuxRays] Device 1 compute units: 1
  13. [LuxRays] Device 1 preferred float vector width: 1
  14. [LuxRays] Device 1 max allocable memory: 8176MBytes
  15. [LuxRays] Device 1 max allocable memory block size: 4095MBytes
  16. [LuxRays] Device 2 name: AMD FirePro S7150 (RADV TONGA)
  17. [LuxRays] Device 2 type: OPENCL_GPU
  18. [LuxRays] Device 2 compute units: 1
  19. [LuxRays] Device 2 preferred float vector width: 1
  20. [LuxRays] Device 2 max allocable memory: 8190MBytes
  21. [LuxRays] Device 2 max allocable memory block size: 4095MBytes
  22. [LuxRays] Device 3 name: llvmpipe (LLVM 15.0.7, 256 bits)
  23. [LuxRays] Device 3 type: OPENCL_CPU
  24. [LuxRays] Device 3 compute units: 1
  25. [LuxRays] Device 3 preferred float vector width: 1
  26. [LuxRays] Device 3 max allocable memory: 257542MBytes
  27. [LuxRays] Device 3 max allocable memory block size: 2048MBytes
  28. Set Pause mode
  29. Toggle OpenCL compiler option: -cl-strict-aliasing
  30. Set mode: BENCHMARK_OCL_CUSTOM
  31. [LuxCore] [13.898] Configuration:
  32. [LuxCore] [13.898] renderengine.type = "PATHOCL"
  33. [LuxCore] [13.898] opencl.platform.index = "-1"
  34. [LuxCore] [13.898] opencl.cpu.use = "0"
  35. [LuxCore] [13.898] opencl.gpu.use = "1"
  36. [LuxCore] [13.898] opencl.gpu.workgroup.size = "64"
  37. [LuxCore] [13.898] scene.epsilon.min = "9.99999971718068536574719e-10"
  38. [LuxCore] [13.899] scene.epsilon.max = "0.100000001490116119384766"
  39. [LuxCore] [13.899] accelerator.instances.enable = "0"
  40. [LuxCore] [13.899] path.maxdepth = "12"
  41. [LuxCore] [13.899] film.width = "800"
  42. [LuxCore] [13.899] film.height = "800"
  43. [LuxCore] [13.899] sampler.type = "RANDOM"
  44. [LuxCore] [13.899] film.filter.type = "GAUSSIAN"
  45. [LuxCore] [13.899] film.filter.xwidth = "1"
  46. [LuxCore] [13.899] film.filter.ywidth = "1"
  47. [LuxCore] [13.899] scene.file = "scenes/luxball/scene.scn"
  48. [LuxCore] [13.899] film.imagepipeline.0.type = "TONEMAP_LINEAR"
  49. [LuxCore] [13.899] film.imagepipeline.1.type = "GAMMA_CORRECTION"
  50. [LuxCore] [13.899] film.imagepipeline.1.value = "2.2"
  51. [LuxCore] [13.899] screen.refresh.interval = 2000
  52. [LuxCore] [13.899] opencl.devices.select = "100"
  53. [LuxCore] [13.899] opencl.kernel.options = "-cl-fast-relaxed-math -cl-mad-enable -cl-strict-aliasing -cl-no-signed-zeros"
  54. [SDL] [13.899] Reading scene: scenes/luxball/scene.scn
  55. [SDL] [13.899] Camera type: perspective
  56. [SDL] [13.899] Camera position: Point[0.649247, 0.279196, 0.148695]
  57. [SDL] [13.899] Camera target: Point[0.10751, 1.04879, -0.189305]
  58. [SDL] [13.899] Camera clipping plane disabled
  59. [SDL] [13.899] Texture definition: texture-0x7f4e0b479080
  60. [SDL] [13.899] Reading texture map: scenes/luxball/imagemap-00001.exr
  61. [SDL] [13.938] Texture definition: texture-0x7f4e0b47ab80
  62. [SDL] [13.938] Material definition: material-0x7f4e0b4790b0
  63. [SDL] [13.938] Material definition: material-0x7f4e0b479170
  64. [SDL] [13.938] Material definition: material-0x7f4e0b4a7a50
  65. [SDL] [13.938] Material definition: material-0x7f4e0b47a5e0
  66. [SDL] [13.978] Scene objects count: 7
  67. [SDL] [13.978] Light definition: infinitelight
  68. [SDL] [13.979] Reading texture map: scenes/luxball/imagemap-00000.exr
  69. [LuxCore] [14.036] Film resolution: 800x800
  70. [LuxRays] [14.036] OpenCL Platform 0: clvk
  71. [LuxRays] [14.036] Device 0 name: NativeThread
  72. [LuxRays] [14.036] Device 0 type: NATIVE_THREAD
  73. [LuxRays] [14.036] Device 0 compute units: 1
  74. [LuxRays] [14.036] Device 0 preferred float vector width: 4
  75. [LuxRays] [14.036] Device 0 max allocable memory: 0MBytes
  76. [LuxRays] [14.036] Device 0 max allocable memory block size: 0MBytes
  77. [LuxRays] [14.036] Device 1 name: AMD Radeon Graphics (RADV GFX1102)
  78. [LuxRays] [14.036] Device 1 type: OPENCL_UNKNOWN
  79. [LuxRays] [14.036] Device 1 compute units: 1
  80. [LuxRays] [14.036] Device 1 preferred float vector width: 1
  81. [LuxRays] [14.036] Device 1 max allocable memory: 8176MBytes
  82. [LuxRays] [14.036] Device 1 max allocable memory block size: 4095MBytes
  83. [LuxRays] [14.036] Device 2 name: AMD FirePro S7150 (RADV TONGA)
  84. [LuxRays] [14.036] Device 2 type: OPENCL_GPU
  85. [LuxRays] [14.036] Device 2 compute units: 1
  86. [LuxRays] [14.036] Device 2 preferred float vector width: 1
  87. [LuxRays] [14.036] Device 2 max allocable memory: 8190MBytes
  88. [LuxRays] [14.036] Device 2 max allocable memory block size: 4095MBytes
  89. [LuxRays] [14.036] Device 3 name: llvmpipe (LLVM 15.0.7, 256 bits)
  90. [LuxRays] [14.036] Device 3 type: OPENCL_CPU
  91. [LuxRays] [14.036] Device 3 compute units: 1
  92. [LuxRays] [14.036] Device 3 preferred float vector width: 1
  93. [LuxRays] [14.036] Device 3 max allocable memory: 257542MBytes
  94. [LuxRays] [14.036] Device 3 max allocable memory block size: 2048MBytes
  95. [LuxRays] [14.036] Preprocessing DataSet
  96. [LuxRays] [14.036] Total vertex count: 124324
  97. [LuxRays] [14.036] Total triangle count: 217544
  98. [LuxRays] [14.037] Preprocessing DataSet done
  99. [LuxRays] [14.049] Creating 1 intersection device(s)
  100. [LuxRays] [14.049] Allocating intersection device 0: AMD Radeon Graphics (RADV GFX1102) (Type = OPENCL_UNKNOWN)
  101. [LuxCore] [14.049] OpenCL Devices used:
  102. [LuxCore] [14.049] [AMD Radeon Graphics (RADV GFX1102)Intersect]
  103. [LuxCore] [14.049] Device OpenCL version: OpenCL 3.0 CLVK on Vulkan v1.3.255 driver 96477185
  104. [LuxRays] [14.049] Adding DataSet accelerator: BVH
  105. [LuxRays] [14.049] Total vertex count: 124324
  106. [LuxRays] [14.049] Total triangle count: 217544
  107. [LuxRays] [14.062] BVH Dataset preprocessing time: 12ms
  108. [LuxRays] [14.062] Building BVH, primitives: 217544
  109. [LuxRays] [14.115] BVH build hierarchy time: 52ms
  110. [LuxRays] [14.115] Pre-processing BVH, total nodes: 324654
  111. [LuxRays] [14.127] BVH build array time: 11ms
  112. [LuxRays] [14.127] Total BVH memory usage: 10145Kbytes
  113. [LuxRays] [14.127] BVH build time: 77ms
  114. [LuxCore] [14.133] Configuring 1 CPU render threads
  115. [LuxRays] [14.134] [OpenCL device::AMD Radeon Graphics (RADV GFX1102)Intersect] Vertices buffer size (Page 0, 124324 vertices): 1456Kbytes
  116. [LuxRays] [14.138] [OpenCL device::AMD Radeon Graphics (RADV GFX1102)Intersect] BVH buffer size (Page 0, 324654 nodes): 10145Kbytes
  117. [LuxRays] [14.261] [OpenCL device::AMD Radeon Graphics (RADV GFX1102)Intersect] BVH compilation error:
  118. clvk-4BMFbG/source.cl:30:9: warning: 'NULL' macro redefined
  119. 25 | #define NULL 0
  120. | ^
  121. include/opencl-c-base.h:232:9: note: previous definition is here
  122. 232 | #define NULL ((void*)0)
  123. | ^
  124. clvk-4BMFbG/source.cl:81:8: warning: no previous prototype for function 'VLOAD2F'
  125. 76 | float2 VLOAD2F(const __global float *p) {
  126. | ^
  127. clvk-4BMFbG/source.cl:81:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  128. 76 | float2 VLOAD2F(const __global float *p) {
  129. | ^
  130. | static
  131. clvk-4BMFbG/source.cl:85:6: warning: no previous prototype for function 'VSTORE2F'
  132. 80 | void VSTORE2F(const float2 v, __global float *p) {
  133. | ^
  134. clvk-4BMFbG/source.cl:85:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  135. 80 | void VSTORE2F(const float2 v, __global float *p) {
  136. | ^
  137. | static
  138. clvk-4BMFbG/source.cl:89:8: warning: no previous prototype for function 'VLOAD3F'
  139. 84 | float3 VLOAD3F(const __global float *p) {
  140. | ^
  141. clvk-4BMFbG/source.cl:89:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  142. 84 | float3 VLOAD3F(const __global float *p) {
  143. | ^
  144. | static
  145. clvk-4BMFbG/source.cl:93:8: warning: no previous prototype for function 'VLOAD3F_Private'
  146. 88 | float3 VLOAD3F_Private(const float *p) {
  147. | ^
  148. clvk-4BMFbG/source.cl:93:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  149. 88 | float3 VLOAD3F_Private(const float *p) {
  150. | ^
  151. | static
  152. clvk-4BMFbG/source.cl:97:6: warning: no previous prototype for function 'VSTORE3F'
  153. 92 | void VSTORE3F(const float3 v, __global float *p) {
  154. | ^
  155. clvk-4BMFbG/source.cl:97:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  156. 92 | void VSTORE3F(const float3 v, __global float *p) {
  157. | ^
  158. | static
  159. clvk-4BMFbG/source.cl:101:8: warning: no previous prototype for function 'VLOAD4F'
  160. 96 | float4 VLOAD4F(const __global float *p) {
  161. | ^
  162. clvk-4BMFbG/source.cl:101:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  163. 96 | float4 VLOAD4F(const __global float *p) {
  164. | ^
  165. | static
  166. clvk-4BMFbG/source.cl:108:11: warning: cast from 'const __global float *' to 'const __global float4 *' increases required alignment from 4 to 16
  167. 103 | return *((const __global float4 *)p);
  168. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  169. clvk-4BMFbG/source.cl:107:8: warning: no previous prototype for function 'VLOAD4F_Align'
  170. 102 | float4 VLOAD4F_Align(const __global float *p) {
  171. | ^
  172. clvk-4BMFbG/source.cl:107:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  173. 102 | float4 VLOAD4F_Align(const __global float *p) {
  174. | ^
  175. | static
  176. clvk-4BMFbG/source.cl:111:8: warning: no previous prototype for function 'VLOAD4F_Private'
  177. 106 | float4 VLOAD4F_Private(const float *p) {
  178. | ^
  179. clvk-4BMFbG/source.cl:111:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  180. 106 | float4 VLOAD4F_Private(const float *p) {
  181. | ^
  182. | static
  183. clvk-4BMFbG/source.cl:115:6: warning: no previous prototype for function 'VSTORE4F'
  184. 110 | void VSTORE4F(const float4 v, __global float *p) {
  185. | ^
  186. clvk-4BMFbG/source.cl:115:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  187. 110 | void VSTORE4F(const float4 v, __global float *p) {
  188. | ^
  189. | static
  190. clvk-4BMFbG/source.cl:121:6: warning: no previous prototype for function 'VADD3F'
  191. 116 | void VADD3F(__global float *p, const float3 v) {
  192. | ^
  193. clvk-4BMFbG/source.cl:121:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  194. 116 | void VADD3F(__global float *p, const float3 v) {
  195. | ^
  196. | static
  197. clvk-4BMFbG/source.cl:181:7: warning: no previous prototype for function 'MachineEpsilon_FloatAdvance'
  198. 21 | float MachineEpsilon_FloatAdvance(const float value) {
  199. | ^
  200. clvk-4BMFbG/source.cl:181:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  201. 21 | float MachineEpsilon_FloatAdvance(const float value) {
  202. | ^
  203. | static
  204. clvk-4BMFbG/source.cl:185:7: warning: no previous prototype for function 'MachineEpsilon_E'
  205. 25 | float MachineEpsilon_E(const float value) {
  206. | ^
  207. clvk-4BMFbG/source.cl:185:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  208. 25 | float MachineEpsilon_E(const float value) {
  209. | ^
  210. | static
  211. clvk-4BMFbG/source.cl:191:7: warning: no previous prototype for function 'MachineEpsilon_E_Float3'
  212. 31 | float MachineEpsilon_E_Float3(const float3 v) {
  213. | ^
  214. clvk-4BMFbG/source.cl:191:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  215. 31 | float MachineEpsilon_E_Float3(const float3 v) {
  216. | ^
  217. | static
  218. clvk-4BMFbG/source.cl:292:6: warning: no previous prototype for function 'Ray_Init4_Private'
  219. 20 | void Ray_Init4_Private(Ray *ray, const float3 orig, const float3 dir,
  220. | ^
  221. clvk-4BMFbG/source.cl:292:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  222. 20 | void Ray_Init4_Private(Ray *ray, const float3 orig, const float3 dir,
  223. | ^
  224. | static
  225. clvk-4BMFbG/source.cl:308:6: warning: no previous prototype for function 'Ray_Init3_Private'
  226. 36 | void Ray_Init3_Private(Ray *ray, const float3 orig, const float3 dir,
  227. | ^
  228. clvk-4BMFbG/source.cl:308:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  229. 36 | void Ray_Init3_Private(Ray *ray, const float3 orig, const float3 dir,
  230. | ^
  231. | static
  232. clvk-4BMFbG/source.cl:324:6: warning: no previous prototype for function 'Ray_Init2_Private'
  233. 52 | void Ray_Init2_Private(Ray *ray, const float3 orig, const float3 dir, const float time) {
  234. | ^
  235. clvk-4BMFbG/source.cl:324:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  236. 52 | void Ray_Init2_Private(Ray *ray, const float3 orig, const float3 dir, const float time) {
  237. | ^
  238. | static
  239. clvk-4BMFbG/source.cl:339:6: warning: no previous prototype for function 'Ray_Init4'
  240. 67 | void Ray_Init4(__global Ray *ray, const float3 orig, const float3 dir,
  241. | ^
  242. clvk-4BMFbG/source.cl:339:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  243. 67 | void Ray_Init4(__global Ray *ray, const float3 orig, const float3 dir,
  244. | ^
  245. | static
  246. clvk-4BMFbG/source.cl:350:6: warning: no previous prototype for function 'Ray_Init3'
  247. 78 | void Ray_Init3(__global Ray *ray, const float3 orig, const float3 dir,
  248. | ^
  249. clvk-4BMFbG/source.cl:350:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  250. 78 | void Ray_Init3(__global Ray *ray, const float3 orig, const float3 dir,
  251. | ^
  252. | static
  253. clvk-4BMFbG/source.cl:361:6: warning: no previous prototype for function 'Ray_Init2'
  254. 89 | void Ray_Init2(__global Ray *ray, const float3 orig, const float3 dir, const float time) {
  255. | ^
  256. clvk-4BMFbG/source.cl:361:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  257. 89 | void Ray_Init2(__global Ray *ray, const float3 orig, const float3 dir, const float time) {
  258. | ^
  259. | static
  260. clvk-4BMFbG/source.cl:373:28: warning: cast from 'const __global Ray *' to '__global float4 *' increases required alignment from 4 to 16
  261. 101 | __global float4 *basePtr =(__global float4 *)ray;
  262. | ^~~~~~~~~~~~~~~~~~~~~~
  263. clvk-4BMFbG/source.cl:373:47: warning: cast from 'const __global Ray *' to 'float __global * __attribute__((ext_vector_type(4)))' drops const qualifier
  264. 101 | __global float4 *basePtr =(__global float4 *)ray;
  265. | ^
  266. clvk-4BMFbG/source.cl:371:6: warning: no previous prototype for function 'Ray_ReadAligned4'
  267. 99 | void Ray_ReadAligned4(__global const Ray* restrict ray, float3 *rayOrig, float3 *rayDir,
  268. | ^
  269. clvk-4BMFbG/source.cl:371:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  270. 99 | void Ray_ReadAligned4(__global const Ray* restrict ray, float3 *rayOrig, float3 *rayDir,
  271. | ^
  272. | static
  273. clvk-4BMFbG/source.cl:387:28: warning: cast from 'const __global Ray *' to '__global float4 *' increases required alignment from 4 to 16
  274. 115 | __global float4 *basePtr =(__global float4 *)ray;
  275. | ^~~~~~~~~~~~~~~~~~~~~~
  276. clvk-4BMFbG/source.cl:387:47: warning: cast from 'const __global Ray *' to 'float __global * __attribute__((ext_vector_type(4)))' drops const qualifier
  277. 115 | __global float4 *basePtr =(__global float4 *)ray;
  278. | ^
  279. clvk-4BMFbG/source.cl:386:6: warning: no previous prototype for function 'Ray_ReadAligned4_Private'
  280. 114 | void Ray_ReadAligned4_Private(__global const Ray* restrict ray, Ray *dstRay) {
  281. | ^
  282. clvk-4BMFbG/source.cl:386:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  283. 114 | void Ray_ReadAligned4_Private(__global const Ray* restrict ray, Ray *dstRay) {
  284. | ^
  285. | static
  286. clvk-4BMFbG/source.cl:446:5: warning: no previous prototype for function 'BBox_IntersectP'
  287. 21 | int BBox_IntersectP(const float3 pMin, const float3 pMax,
  288. | ^
  289. clvk-4BMFbG/source.cl:446:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  290. 21 | int BBox_IntersectP(const float3 pMin, const float3 pMax,
  291. | ^
  292. | static
  293. clvk-4BMFbG/source.cl:502:6: warning: no previous prototype for function 'Triangle_UniformSample'
  294. 21 | void Triangle_UniformSample(const float u0, const float u1, float *b1, float *b2) {
  295. | ^
  296. clvk-4BMFbG/source.cl:502:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  297. 21 | void Triangle_UniformSample(const float u0, const float u1, float *b1, float *b2) {
  298. | ^
  299. | static
  300. clvk-4BMFbG/source.cl:508:8: warning: no previous prototype for function 'Triangle_Sample'
  301. 27 | float3 Triangle_Sample(const float3 p0, const float3 p1, const float3 p2,
  302. | ^
  303. clvk-4BMFbG/source.cl:508:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  304. 27 | float3 Triangle_Sample(const float3 p0, const float3 p1, const float3 p2,
  305. | ^
  306. | static
  307. clvk-4BMFbG/source.cl:517:8: warning: no previous prototype for function 'Triangle_GetGeometryNormal'
  308. 36 | float3 Triangle_GetGeometryNormal(const float3 p0, const float3 p1, const float3 p2) {
  309. | ^
  310. clvk-4BMFbG/source.cl:517:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  311. 36 | float3 Triangle_GetGeometryNormal(const float3 p0, const float3 p1, const float3 p2) {
  312. | ^
  313. | static
  314. clvk-4BMFbG/source.cl:521:8: warning: no previous prototype for function 'Triangle_InterpolateNormal'
  315. 40 | float3 Triangle_InterpolateNormal(const float3 n0, const float3 n1, const float3 n2,
  316. | ^
  317. clvk-4BMFbG/source.cl:521:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  318. 40 | float3 Triangle_InterpolateNormal(const float3 n0, const float3 n1, const float3 n2,
  319. | ^
  320. | static
  321. clvk-4BMFbG/source.cl:526:8: warning: no previous prototype for function 'Triangle_InterpolateUV'
  322. 45 | float2 Triangle_InterpolateUV(const float2 uv0, const float2 uv1, const float2 uv2,
  323. | ^
  324. clvk-4BMFbG/source.cl:526:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  325. 45 | float2 Triangle_InterpolateUV(const float2 uv0, const float2 uv1, const float2 uv2,
  326. | ^
  327. | static
  328. clvk-4BMFbG/source.cl:531:8: warning: no previous prototype for function 'Triangle_InterpolateColor'
  329. 50 | float3 Triangle_InterpolateColor(const float3 rgb0, const float3 rgb1, const float3 rgb2,
  330. | ^
  331. clvk-4BMFbG/source.cl:531:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  332. 50 | float3 Triangle_InterpolateColor(const float3 rgb0, const float3 rgb1, const float3 rgb2,
  333. | ^
  334. | static
  335. clvk-4BMFbG/source.cl:536:7: warning: no previous prototype for function 'Triangle_InterpolateAlpha'
  336. 55 | float Triangle_InterpolateAlpha(const float a0, const float a1, const float a2,
  337. | ^
  338. clvk-4BMFbG/source.cl:536:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  339. 55 | float Triangle_InterpolateAlpha(const float a0, const float a1, const float a2,
  340. | ^
  341. | static
  342. clvk-4BMFbG/source.cl:564:14: warning: mixing declarations and code is incompatible with standards before C99
  343. 83 | const float invDivisor = 1.f / divisor;
  344. | ^
  345. clvk-4BMFbG/source.cl:541:6: warning: no previous prototype for function 'Triangle_Intersect'
  346. 60 | void Triangle_Intersect(
  347. | ^
  348. clvk-4BMFbG/source.cl:541:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  349. 60 | void Triangle_Intersect(
  350. | ^
  351. | static
  352. clvk-4BMFbG/source.cl:614:2: warning: anonymous unions are a C11 extension
  353. 22 | union {
  354. | ^
  355. clvk-4BMFbG/source.cl:791:36: warning: cast from 'const __global BVHAccelArrayNode *' to '__global float4 *' increases required alignment from 4 to 16
  356. 157 | __global float4* restrict data = (__global float4* restrict)node;
  357. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  358. clvk-4BMFbG/source.cl:791:63: warning: cast from 'const __global BVHAccelArrayNode *' to 'float __global * __attribute__((ext_vector_type(4)))' drops const qualifier
  359. 157 | __global float4* restrict data = (__global float4* restrict)node;
  360. | ^
  361. clvk-4BMFbG/source.cl:700:6: warning: no previous prototype for function 'Accelerator_Intersect'
  362. 66 | void Accelerator_Intersect(
  363. | ^
  364. clvk-4BMFbG/source.cl:700:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  365. 66 | void Accelerator_Intersect(
  366. | ^
  367. | static
  368. clvk-4BMFbG/source.cl:867:15: warning: variable 'b1' may be uninitialized when used here
  369. 233 | rayHit->b1 = b1;
  370. | ^~
  371. clvk-4BMFbG/source.cl:781:10: note: initialize the variable 'b1' to silence this warning
  372. 147 | float b1, b2;
  373. | ^
  374. | = 0.0
  375. clvk-4BMFbG/source.cl:868:15: warning: variable 'b2' may be uninitialized when used here
  376. 234 | rayHit->b2 = b2;
  377. | ^~
  378. clvk-4BMFbG/source.cl:781:14: note: initialize the variable 'b2' to silence this warning
  379. 147 | float b1, b2;
  380. | ^
  381. | = 0.0
  382. clvk-4BMFbG/source.cl:880:18: warning: implicit conversion changes signedness: 'unsigned int' to 'int'
  383. 246 | const int gid = get_global_id(0);
  384. | ~~~ ^~~~~~~~~~~~~~~~
  385. clvk-4BMFbG/source.cl:151:9: warning: macro is not used
  386. 26 | #define DEFAULT_EPSILON_MIN 1e-9f
  387. | ^
  388. clvk-4BMFbG/source.cl:4:9: warning: macro is not used
  389. 4 | #define BVH_VERTS_PAGE0 1
  390. | ^
  391. clvk-4BMFbG/source.cl:5:9: warning: macro is not used
  392. 5 | #define BVH_NODES_PAGE0 1
  393. | ^
  394. clvk-4BMFbG/source.cl:237:9: warning: macro is not used
  395. 21 | #define ASSIGN_VECTOR(a, b) { (a).x = (b).x; (a).y = (b).y; (a).z = (b).z; }
  396. | ^
  397. clvk-4BMFbG/source.cl:152:9: warning: macro is not used
  398. 27 | #define DEFAULT_EPSILON_MAX 1e-1f
  399. | ^
  400. clvk-4BMFbG/source.cl:2:9: warning: macro is not used
  401. 2 | #define BVH_NODES_PAGE_SIZE 134217727
  402. | ^
  403. clvk-4BMFbG/source.cl:30:9: warning: macro is not used
  404. 25 | #define NULL 0
  405. | ^
  406. clvk-4BMFbG/source.cl:153:9: warning: macro is not used
  407. 28 | #define DEFAULT_EPSILON_STATIC 1e-5f
  408. | ^
  409. clvk-4BMFbG/source.cl:157:9: warning: macro is not used
  410. 32 | #define DEFAULT_COS_EPSILON_STATIC 1e-4f
  411. | ^
  412. clvk-4BMFbG/source.cl:884:6: warning: mixing declarations and code is incompatible with standards before C99
  413. 250 | Ray ray;
  414. | ^
  415. clvk-4BMFbG/source.cl:881:10: warning: comparison of integers of different signs: 'const __private int' and 'const __private uint' (aka 'const __private unsigned int')
  416. 247 | if (gid >= rayCount)
  417. | ~~~ ^ ~~~~~~~~
  418. Err: SrcTy = %struct.BVHAccelArrayNode = type { %union.anon, i32, i32 } - DstTy = <4 x float> - Ty = %struct.BVHAccelArrayNode = type { %union.anon, i32, i32 } - CstVal = 32
  419. Floating point exception (core dumped)
  420.  
  421. OpenCL ERROR: clBuildProgram(CL_BUILD_PROGRAM_FAILURE)
  422.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement