PatchMatchCuda icon indicating copy to clipboard operation
PatchMatchCuda copied to clipboard

Can not compile on Ubuntu 20

Open ArtlyStyles opened this issue 4 years ago • 1 comments

I got the following error:

calling a constexpr host function("fmin") from a device function("CostComputation_cu") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

How can I fix this?

ArtlyStyles avatar Nov 29 '20 02:11 ArtlyStyles

@ArtlyStyles replace fmin by fminf

yanqswhu avatar Apr 17 '21 02:04 yanqswhu