File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,5 +27,6 @@ if (MOTIS_CUDA)
27
27
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
28
28
INSTALL_RPATH "$ORIGIN/../lib:$ORIGIN/" )
29
29
target_include_directories (gpucsa PUBLIC include )
30
+ set_property (TARGET gpucsa PROPERTY CUDA_ARCHITECTURES 75 61 )
30
31
target_link_libraries (motis-csa gpucsa )
31
32
endif ()
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ struct csa_timetable;
9
9
struct gpu_timetable {
10
10
gpu_timetable () = default ;
11
11
explicit gpu_timetable (csa_timetable&);
12
- ~gpu_timetable () = default ;
12
+ ~gpu_timetable ();
13
13
14
14
gpu_timetable (gpu_timetable&&) noexcept ;
15
15
gpu_timetable& operator =(gpu_timetable&&) noexcept ;
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ fail:
327
327
328
328
void gpu_csa_free_result (gpu_csa_result* r) {
329
329
r->station_arrivals_ =
330
- r->station_arrivals_ == nullptr ? nullptr : r->station_arrivals_ + 1 ;
330
+ r->station_arrivals_ == nullptr ? nullptr : r->station_arrivals_ - 1 ;
331
331
cudaFreeHost (r->station_arrivals_ );
332
332
cudaFreeHost (r->trip_reachable_ );
333
333
r->station_arrivals_ = nullptr ;
You can’t perform that action at this time.
0 commit comments