temporarily disabled compute descriptor kernel for new cards (some problems with threads synchronization), old version of kernels is used.

This commit is contained in:
Vladislav Vinogradov 2011-02-22 09:27:42 +00:00
parent 5b3d786e30
commit 32a2fde8ac
2 changed files with 341 additions and 383 deletions

File diff suppressed because it is too large Load Diff

View File

@ -233,8 +233,8 @@ namespace
typedef void (*compute_descriptors_t)(const DevMem2Df& descriptors,
const KeyPoint_GPU* features, int nFeatures);
const compute_descriptors_t compute_descriptors =
DeviceInfo().supports(FEATURE_SET_COMPUTE_13) ? compute_descriptors_gpu : compute_descriptors_gpu_old;
const compute_descriptors_t compute_descriptors = compute_descriptors_gpu_old;
//DeviceInfo().supports(FEATURE_SET_COMPUTE_13) ? compute_descriptors_gpu : compute_descriptors_gpu_old;
if (keypoints.cols > 0)
{