NVlabs/fermat

Support CUDA 10.1 SDK..

oscarbg opened this issue · 2 comments

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..

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

seems time to test on CUDA 11..