-
Notifications
You must be signed in to change notification settings - Fork 98
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
Generated CPP files moving includes inside the ifdef's #199
Labels
Comments
Can we change the generator too ? |
Yeah we should change the generator. I look into it. |
mndevec
added a commit
to mndevec/kokkos-kernels
that referenced
this issue
Apr 5, 2018
Related to kokkos#199. Compilation on white with single lno, size_type and scalar_type and two execution spaces. --previously took 3m 55s --after changes suggested by @ibaned reduced to 3m 35 s.
mndevec
added a commit
to mndevec/kokkos-kernels
that referenced
this issue
Apr 5, 2018
Compilation on white with single lno, size_type and scalar_type and two execution spaces. --previously took 5m 18s --after changes suggested by @ibaned reduced to 4m 21 s.
PR #203 |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As suggested by @ibaned : many of the generated cpp files are not compiled, yet they have includes that are not protected by the ifdef macros.
For example:
https://github.com/kokkos/kokkos-kernels/blob/master/src/impl/generated_specializations_cpp/abs/KokkosBlas1_abs_eti_spec_inst_Kokkos_complex_double__LayoutLeft_Cuda_CudaSpace.cpp
Moving "#ifdef" macros outside so that they wrap "#include ..." might reduce the compile time further.
The text was updated successfully, but these errors were encountered: