This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit cbd3399
authored
Fixing issue for CUDA feautre extraction (#117)
Using THROW_CHECK_EQ(options_.max_image_size, sift_gpu->GetMaxDimension()); causes issues for me when using CUDA as I don't seem to be able to set the parameter right. It seems wrong to me to expect that max_image_size is set to GetMaxDimension, as the latter will be device-dependent. Using THROW_CHECK_LE seems more appropriate.1 parent d251596 commit cbd3399
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments