Skip to content

Commit 78fa75d

Browse files
author
KOPANAS Georgios
committed
constexpr->const to support earlier cuda versions
1 parent 677e32c commit 78fa75d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cuda_rasterizer/auxiliary.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
#define NUM_WARPS (BLOCK_SIZE/32)
99

1010
// Spherical harmonics coefficients
11-
__device__ constexpr float SH_C0 = 0.28209479177387814f;
12-
__device__ constexpr float SH_C1 = 0.4886025119029199f;
13-
__device__ constexpr float SH_C2[] = {
11+
__device__ const float SH_C0 = 0.28209479177387814f;
12+
__device__ const float SH_C1 = 0.4886025119029199f;
13+
__device__ const float SH_C2[] = {
1414
1.0925484305920792f,
1515
-1.0925484305920792f,
1616
0.31539156525252005f,
1717
-1.0925484305920792f,
1818
0.5462742152960396f
1919
};
20-
__device__ constexpr float SH_C3[] = {
20+
__device__ const float SH_C3[] = {
2121
-0.5900435899266435f,
2222
2.890611442640554f,
2323
-0.4570457994644658f,

0 commit comments

Comments
 (0)