Hi, you did a really excellent work and I want to run the code in my computer but errors appeared. When I compile the utils.cu, there are many errors and I do not find the "equation_construction" and "jacobian_construction" in the utils.cu used in ba.py. The compile errors are as follows, and the tensorflow version is 2.0:
utils.cu(44): error: namespace "Eigen" has no member "CudaStreamDevice"
utils.cu(109): error: member function declared with "override" does not override a base class member
utils.cu(111): error: member function declared with "override" does not override a base class member
utils.cu(109): warning: function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes()" is hidden by "CublasScratchAllocator::GetMemoryLimitInBytes" -- virtual function override intended?
utils.cu(111): warning: function "stream_executor::ScratchAllocator::AllocateBytes(tensorflow::int64)" is hidden by "CublasScratchAllocator::AllocateBytes" -- virtual function override intended?
utils.cu(247): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider
utils.cu(444): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider
utils.cu(738): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider
utils.cu(1088): error: expected a "("
utils.cu(1088): error: expected an expression
utils.cu(1088): error: expected a ")"
utils.cu(1089): error: expected a "("
utils.cu(1089): error: expected an expression
utils.cu(1089): error: expected a ")"
utils.cu(1362): error: expected a "("
utils.cu(1362): error: expected an expression
utils.cu(1362): error: expected a ")"
utils.cu(1363): error: expected a "("
utils.cu(1363): error: expected an expression
utils.cu(1363): error: expected a ")"
utils.cu(1458): error: "static" is not allowed
utils.cu(1615): error: identifier "data_channels" is undefined
utils.cu(1611): warning: variable "out_index" was declared but never referenced
utils.cu(1612): warning: variable "batch_id" was declared but never referenced
utils.cu(1703): error: "static" is not allowed
utils.cu(1829): error: "projection_tensor" has already been declared in the current scope
23 errors detected in the compilation of "/tmp/tmpxft_000064ea_00000000-6_utils.cpp1.ii".
Hi, you did a really excellent work and I want to run the code in my computer but errors appeared. When I compile the utils.cu, there are many errors and I do not find the "equation_construction" and "jacobian_construction" in the utils.cu used in ba.py. The compile errors are as follows, and the tensorflow version is 2.0:
utils.cu(44): error: namespace "Eigen" has no member "CudaStreamDevice"
utils.cu(109): error: member function declared with "override" does not override a base class member
utils.cu(111): error: member function declared with "override" does not override a base class member
utils.cu(109): warning: function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes()" is hidden by "CublasScratchAllocator::GetMemoryLimitInBytes" -- virtual function override intended?
utils.cu(111): warning: function "stream_executor::ScratchAllocator::AllocateBytes(tensorflow::int64)" is hidden by "CublasScratchAllocator::AllocateBytes" -- virtual function override intended?
utils.cu(247): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider
utils.cu(444): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider
utils.cu(738): error: object of abstract class type "CublasScratchAllocator" is not allowed:
pure virtual function "stream_executor::ScratchAllocator::GetMemoryLimitInBytes" has no overrider
pure virtual function "stream_executor::ScratchAllocator::AllocateBytes" has no overrider
utils.cu(1088): error: expected a "("
utils.cu(1088): error: expected an expression
utils.cu(1088): error: expected a ")"
utils.cu(1089): error: expected a "("
utils.cu(1089): error: expected an expression
utils.cu(1089): error: expected a ")"
utils.cu(1362): error: expected a "("
utils.cu(1362): error: expected an expression
utils.cu(1362): error: expected a ")"
utils.cu(1363): error: expected a "("
utils.cu(1363): error: expected an expression
utils.cu(1363): error: expected a ")"
utils.cu(1458): error: "static" is not allowed
utils.cu(1615): error: identifier "data_channels" is undefined
utils.cu(1611): warning: variable "out_index" was declared but never referenced
utils.cu(1612): warning: variable "batch_id" was declared but never referenced
utils.cu(1703): error: "static" is not allowed
utils.cu(1829): error: "projection_tensor" has already been declared in the current scope
23 errors detected in the compilation of "/tmp/tmpxft_000064ea_00000000-6_utils.cpp1.ii".