Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GPU] Tests need several hacks to compile #3631

Open
kunaltyagi opened this issue Feb 6, 2020 · 4 comments
Open

[GPU] Tests need several hacks to compile #3631

kunaltyagi opened this issue Feb 6, 2020 · 4 comments
Labels

Comments

@kunaltyagi
Copy link
Member

I did some hacks to run it on my side

Such as?

It's expected that GTest is bundled, which is no longer true:

Sources are collected but not used anywhere:

I see that PCL using PCL_ADD_TEST wrapper for add_test. It can't be used
there because it needs custom tests target:

Which is created here:

Since subdirectory gpu will be processed before subdirectory test this target will not be available:

Path to tested *.pcd file is hardcoded:

Tested file office_chair_model.pcd is missing:

I found it, put it in the root folder and have to run the test from there, without using CTest.

I did some trivial tweaks to fix few places but most of the tests failing even without patch. List of tests I have to exclude:

PCL_FeaturesGPU.PrincipalCurvatures
PCL_FeaturesGPU.pfh_high_level1
PCL_FeaturesGPU.pfh_high_level2
PCL_FeaturesGPU.pfh_high_level3
PCL_FeaturesGPU.pfh_high_level4
PCL_FeaturesGPU.pfh_low_level
PCL_FeaturesGPU.pfhrgb
PCL_FeaturesGPU.ppf
PCL_FeaturesGPU.ppfrgb
PCL_FeaturesGPU.vfh1
PCL_FeaturesGPU.vfh_fill_size_component_true
PCL_FeaturesGPU.vfh_norm_bins_false
PCL_FeaturesGPU.vfh_norm_distance_true

Originally posted by @ruslo in #3627 (comment)

@stale
Copy link

stale bot commented May 19, 2020

Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.

@stale stale bot added the status: stale label May 19, 2020
@kunaltyagi kunaltyagi added the kind: todo Type of issue label May 19, 2020
@stale stale bot removed the status: stale label May 19, 2020
@kunaltyagi
Copy link
Member Author

Pinging @haritha-j @shrijitsingh99 for feedback since they are currently working on this

@shrijitsingh99
Copy link
Contributor

It's expected that GTest is bundled, which is no longer true:

This can be fixed, no need for hardcoding.

Sources are collected but not used anywhere:

Not sure why this was added, but git blam seems to indicate due to some compiler warning. Will need more investigation.

I see that PCL using PCL_ADD_TEST wrapper for add_test. It can't be used
there because it needs custom tests target:
Since subdirectory gpu will be processed before subdirectory test this target will not be available:

I haven't quite understood this issue, will need further investigation.

Path to tested *.pcd file is hardcoded:
Tested file office_chair_model.pcd is missing:

These are pretty trivial to fix.

Why not just move GPU tests to the default test folder where all the tests are kept?

@kunaltyagi
Copy link
Member Author

Why not just move GPU tests to the default test folder where all the tests are kept?

+10 to the idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants