mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Don't inline catmull_rom for much faster compiles.
This commit is contained in:
parent
24c0c8ee56
commit
6d1c81486c
@ -279,7 +279,7 @@ int bitwise_binsearch(const float *hay, float needle) {
|
|||||||
return lo;
|
return lo;
|
||||||
}
|
}
|
||||||
|
|
||||||
__device__
|
__device__ __noinline__
|
||||||
float catmull_rom(const float *times, const float *knots, float t) {
|
float catmull_rom(const float *times, const float *knots, float t) {
|
||||||
int idx = bitwise_binsearch(times, t);
|
int idx = bitwise_binsearch(times, t);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user