File tree Expand file tree Collapse file tree 3 files changed +58
-0
lines changed
Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,15 @@ install(
114114 FILES "${CMAKE_CURRENT_BINARY_DIR} /arrow-gpu.pc"
115115 DESTINATION "${CMAKE_INSTALL_LIBDIR} /pkgconfig/" )
116116
117+ # CUDA build version
118+ configure_file (cuda_version.h.in
119+ "${CMAKE_CURRENT_BINARY_DIR} /cuda_version.h"
120+ @ONLY)
121+
122+ install (FILES
123+ "${CMAKE_CURRENT_BINARY_DIR} /cuda_version.h"
124+ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR} /arrow/gpu" )
125+
117126set (ARROW_GPU_TEST_LINK_LIBS
118127 arrow_gpu_shared
119128 ${ARROW_TEST_LINK_LIBS} )
Original file line number Diff line number Diff line change 1+ // Licensed to the Apache Software Foundation (ASF) under one
2+ // or more contributor license agreements. See the NOTICE file
3+ // distributed with this work for additional information
4+ // regarding copyright ownership. The ASF licenses this file
5+ // to you under the Apache License, Version 2.0 (the
6+ // "License"); you may not use this file except in compliance
7+ // with the License. You may obtain a copy of the License at
8+ //
9+ // http://www.apache.org/licenses/LICENSE-2.0
10+ //
11+ // Unless required by applicable law or agreed to in writing,
12+ // software distributed under the License is distributed on an
13+ // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+ // KIND, either express or implied. See the License for the
15+ // specific language governing permissions and limitations
16+ // under the License.
17+
18+ #ifndef ARROW_GPU_CUDA_API_H
19+ #define ARROW_GPU_CUDA_API_H
20+
21+ #include "arrow/gpu/cuda_memory.h"
22+ #include "arrow/gpu/cuda_version.h"
23+
24+ #endif // ARROW_GPU_CUDA_API_H
Original file line number Diff line number Diff line change 1+ // Licensed to the Apache Software Foundation (ASF) under one
2+ // or more contributor license agreements. See the NOTICE file
3+ // distributed with this work for additional information
4+ // regarding copyright ownership. The ASF licenses this file
5+ // to you under the Apache License, Version 2.0 (the
6+ // "License"); you may not use this file except in compliance
7+ // with the License. You may obtain a copy of the License at
8+ //
9+ // http://www.apache.org/licenses/LICENSE-2.0
10+ //
11+ // Unless required by applicable law or agreed to in writing,
12+ // software distributed under the License is distributed on an
13+ // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+ // KIND, either express or implied. See the License for the
15+ // specific language governing permissions and limitations
16+ // under the License.
17+
18+ #ifndef ARROW_GPU_CUDA_VERSION_H
19+ #define ARROW_GPU_CUDA_VERSION_H
20+
21+ // Set the CUDA version used to build the library
22+ #define ARROW_CUDA_ABI_VERSION_MAJOR @CUDA_VERSION_MAJOR@
23+ #define ARROW_CUDA_ABI_VERSION_MINOR @CUDA_VERSION_MINOR@
24+
25+ #endif // ARROW_GPU_CUDA_VERSION_H
You can’t perform that action at this time.
0 commit comments