Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed Mar 23, 2021
1 parent cc104ef commit 820e9e0
Show file tree
Hide file tree
Showing 6 changed files with 212 additions and 139 deletions.
266 changes: 164 additions & 102 deletions cpp/cmake/Modules/StringifyJITHeaders.cmake

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion cpp/cmake/thirdparty/CUDF_GetJitify.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,14 @@ function(find_and_configure_jitify)
set(JITIFY_INCLUDE_DIR "${jitify_SOURCE_DIR}" PARENT_SCOPE)
endfunction()

find_and_configure_jitify()
function(find_and_configure_jitify_v2)
CPMFindPackage(NAME jitify
VERSION 2.0.0
GIT_REPOSITORY https://github.com/nvidia/jitify.git
GIT_TAG jitify2
GIT_SHALLOW TRUE
DOWNLOAD_ONLY TRUE)
set(JITIFY_INCLUDE_DIR "${jitify_SOURCE_DIR}" PARENT_SCOPE)
endfunction()

find_and_configure_jitify_v2()
12 changes: 6 additions & 6 deletions cpp/src/binaryop/binaryop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
#include <jit/launcher.h>
#include <jit/parser.h>
#include <jit/type.h>

#include <jit/bit.hpp.jit>
#include <jit/common_headers.hpp>
#include <jit/durations.hpp.jit>
#include <jit/fixed_point.hpp.jit>
#include <jit/timestamps.hpp.jit>
#include <jit/types.hpp.jit>

#include <jit_pre/cudf/fixed_point/fixed_point.hpp.jit>
#include <jit_pre/cudf/types.hpp.jit>
#include <jit_pre/cudf/utilities/bit.hpp.jit>
#include <jit_pre/cudf/wrappers/durations.hpp.jit>
#include <jit_pre/cudf/wrappers/timestamps.hpp.jit>

#include <cudf/binaryop.hpp>
#include <cudf/column/column_factories.hpp>
Expand Down
50 changes: 25 additions & 25 deletions cpp/src/jit/common_headers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@
* limitations under the License.
*/

#include <jit/libcudacxx/cuda/std/chrono.jit>
#include <jit/libcudacxx/cuda/std/climits.jit>
#include <jit/libcudacxx/cuda/std/cstddef.jit>
#include <jit/libcudacxx/cuda/std/cstdint.jit>
#include <jit/libcudacxx/cuda/std/ctime.jit>
#include <jit/libcudacxx/cuda/std/detail/__config.jit>
#include <jit/libcudacxx/cuda/std/detail/__pragma_pop.jit>
#include <jit/libcudacxx/cuda/std/detail/__pragma_push.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/__config.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/__pragma_pop.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/__pragma_push.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/__undef_macros.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/chrono.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/climits.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/cstddef.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/cstdint.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/ctime.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/limits.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/ratio.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/type_traits.jit>
#include <jit/libcudacxx/cuda/std/detail/libcxx/include/version.jit>
#include <jit/libcudacxx/cuda/std/limits.jit>
#include <jit/libcudacxx/cuda/std/ratio.jit>
#include <jit/libcudacxx/cuda/std/type_traits.jit>
#include <jit/libcudacxx/cuda/std/version.jit>
#include <jit_pre/cuda/std/chrono.jit>
#include <jit_pre/cuda/std/climits.jit>
#include <jit_pre/cuda/std/cstddef.jit>
#include <jit_pre/cuda/std/cstdint.jit>
#include <jit_pre/cuda/std/ctime.jit>
#include <jit_pre/cuda/std/detail/__config.jit>
#include <jit_pre/cuda/std/detail/__pragma_pop.jit>
#include <jit_pre/cuda/std/detail/__pragma_push.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/__config.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/__pragma_pop.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/__pragma_push.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/__undef_macros.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/chrono.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/climits.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/cstddef.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/cstdint.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/ctime.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/limits.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/ratio.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/type_traits.jit>
#include <jit_pre/cuda/std/detail/libcxx/include/version.jit>
#include <jit_pre/cuda/std/limits.jit>
#include <jit_pre/cuda/std/ratio.jit>
#include <jit_pre/cuda/std/type_traits.jit>
#include <jit_pre/cuda/std/version.jit>

#include <cstring>
#include <iostream>
Expand Down
7 changes: 4 additions & 3 deletions cpp/src/rolling/rolling_detail.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@
#include <jit/launcher.h>
#include <jit/parser.h>
#include <jit/type.h>
#include <jit/bit.hpp.jit>
#include <jit/rolling_jit_detail.hpp.jit>
#include <jit/types.hpp.jit>

#include <jit_pre/cudf/rolling_jit_detail.hpp.jit>
#include <jit_pre/cudf/types.hpp.jit>
#include <jit_pre/cudf/utilities/bit.hpp.jit>

#include <rmm/thrust_rmm_allocator.h>
#include <rmm/cuda_stream_view.hpp>
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/transform/transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#include <cudf/utilities/traits.hpp>
#include <cudf/utilities/type_dispatcher.hpp>

#include <jit/timestamps.hpp.jit>
#include <jit/types.hpp.jit>
#include <jit_pre/cudf/types.hpp.jit>
#include <jit_pre/cudf/wrappers/timestamps.hpp.jit>

#include <rmm/cuda_stream_view.hpp>

Expand Down

0 comments on commit 820e9e0

Please sign in to comment.