NVlabs / fermat

Fermat is a high performance research oriented physically based rendering system, trying to produce beautiful pictures following the mathematician’s principle of least time
164 stars 22 forks source link

Support CUDA 10.1 SDK.. #5

Open oscarbg opened 5 years ago

oscarbg commented 5 years ago

Hi, fermat has issues building with CUDA 10.1 SDK.. can post detailed build failures but at least is failing with missing thrust functions.. a fix will be nice.. thanks..

PerspectivesLab commented 4 years ago

tried to compile as well with cuda10.2: for project Cugar: added #include <thrust/device_malloc_allocator.h> to file vector.h but still compile error occurs at:

cugar/kd/cuda/kd_test.cu(413): error : no instance of constructor "cugar::cuda::Kd_context::Kd_context" matches the argument list

argument types are: (
cugar::vector<cugar::device_tag, cugar::Kd_node, thrust::device_malloc_allocator<cugar::Kd_node>> *,   
cugar::vector<cugar::device_tag, uint2, thrust::device_malloc_allocator<uint2>> *,  
cugar::vector<cugar::device_tag, uint2, thrust::device_malloc_allocator<uint2>> *   
)   

for line

vector<device_tag,Kd_node>  kd_nodes;
vector<device_tag,uint2>    kd_leaves;
vector<device_tag,uint2>    kd_ranges;
vector<device_tag,uint32>   kd_index;
==> here  =>  cuda::Kd_context context( &kd_nodes, &kd_leaves, &kd_ranges );

do you guys think its an easy fix ? moving up to Cuda 10.2 would be great if fixes could be applied

oscarbg commented 4 years ago

seems time to test on CUDA 11..