repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/spatial/join.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. import warnings from cudf import DataFrame from cudf.core.column import as_column from cuspatial import GeoSeries from cuspatial._lib import spatial_join from cuspatial._lib.point_in_polygon import ( point_in_polygon as cpp_point_in_polygon, ) from cuspatial.utils.c...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/spatial/nearest_points.py
import cupy as cp from cudf.core.column import as_column import cuspatial._lib.nearest_points as nearest_points from cuspatial.core._column.geocolumn import GeoColumn from cuspatial.core.geodataframe import GeoDataFrame from cuspatial.core.geoseries import GeoSeries from cuspatial.utils.column_utils import ( cont...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/spatial/indexing.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. import warnings from cudf import DataFrame, Series from cudf.core.column import as_column from cuspatial import GeoSeries from cuspatial._lib.quadtree import ( quadtree_on_points as cpp_quadtree_on_points, ) from cuspatial.utils.column_utils import contains_only_poi...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/spatial/bounding.py
# Copyright (c) 2022, NVIDIA CORPORATION. from cudf import DataFrame from cudf.core.column import as_column from cuspatial._lib.linestring_bounding_boxes import ( linestring_bounding_boxes as cpp_linestring_bounding_boxes, ) from cuspatial._lib.polygon_bounding_boxes import ( polygon_bounding_boxes as cpp_pol...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/spatial/__init__.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. from .bounding import linestring_bounding_boxes, polygon_bounding_boxes from .distance import ( directed_hausdorff_distance, haversine_distance, pairwise_linestring_distance, pairwise_linestring_polygon_distance, pairwise_point_distance, pairwise_p...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/spatial/distance.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. import cudf from cudf import DataFrame, Series from cudf.core.column import as_column from cuspatial._lib.distance import ( directed_hausdorff_distance as cpp_directed_hausdorff_distance, haversine_distance as cpp_haversine_distance, pairwise_linestring_dista...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/spatial/filtering.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. from cudf import DataFrame from cudf.core.column import as_column from cuspatial._lib import points_in_range from cuspatial.core.geoseries import GeoSeries from cuspatial.utils.column_utils import contains_only_points def points_in_spatial_window(points: GeoSeries, min...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_intersects.py
# Copyright (c) 2023, NVIDIA CORPORATION. import cupy as cp import cudf from cuspatial.core.binops.intersection import pairwise_linestring_intersection from cuspatial.core.binpreds.basic_predicates import ( _basic_contains_any, _basic_intersects, ) from cuspatial.core.binpreds.binpred_interface import ( ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_covers.py
# Copyright (c) 2023, NVIDIA CORPORATION. from cuspatial.core.binpreds.basic_predicates import ( _basic_contains_any, _basic_contains_count, _basic_equals_count, _basic_intersects_pli, ) from cuspatial.core.binpreds.binpred_interface import ( BinPred, ImpossiblePredicate, NotImplementedPred...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/contains_geometry_processor.py
# Copyright (c) 2023, NVIDIA CORPORATION. import cupy as cp import cudf from cudf.core.dataframe import DataFrame from cudf.core.series import Series from cuspatial.core._column.geocolumn import GeoColumn from cuspatial.core.binpreds.binpred_interface import ( BinPred, PreprocessorResult, ) from cuspatial.ut...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_touches.py
# Copyright (c) 2023, NVIDIA CORPORATION. import cupy as cp import cudf from cuspatial.core.binpreds.basic_predicates import ( _basic_contains_count, _basic_contains_properly_any, _basic_equals_all, _basic_equals_any, _basic_equals_count, _basic_intersects, _basic_intersects_count, _b...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_within.py
# Copyright (c) 2023, NVIDIA CORPORATION. from cuspatial.core.binpreds.basic_predicates import ( _basic_equals_all, _basic_equals_any, _basic_intersects, ) from cuspatial.core.binpreds.binpred_interface import ( BinPred, ImpossiblePredicate, NotImplementedPredicate, ) from cuspatial.utils.binpr...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/binpred_dispatch.py
# Copyright (c) 2023, NVIDIA CORPORATION. """`binpred_dispatch.py` contains a collection of dictionaries that are used to dispatch binary predicate functions to the correct implementation. The dictionaries are collected here to make using the dispatch functionality easier. """ from cuspatial.core.binpreds.feature_co...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_overlaps.py
# Copyright (c) 2023, NVIDIA CORPORATION. import cudf from cuspatial.core.binpreds.basic_predicates import ( _basic_contains_properly_any, ) from cuspatial.core.binpreds.binpred_interface import ( BinPred, ImpossiblePredicate, ) from cuspatial.core.binpreds.feature_contains import ContainsPredicate from c...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_crosses.py
# Copyright (c) 2023, NVIDIA CORPORATION. from cuspatial.core.binpreds.basic_predicates import ( _basic_equals_count, _basic_intersects_count, _basic_intersects_pli, ) from cuspatial.core.binpreds.binpred_interface import ( BinPred, ImpossiblePredicate, ) from cuspatial.core.binpreds.feature_equals...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_contains_properly.py
# Copyright (c) 2023, NVIDIA CORPORATION. from typing import TypeVar import cupy as cp import cudf from cuspatial.core.binpreds.basic_predicates import ( _basic_equals_all, _basic_intersects, ) from cuspatial.core.binpreds.binpred_interface import ( BinPred, ContainsOpResult, ImpossiblePredicate...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_equals.py
# Copyright (c) 2023, NVIDIA CORPORATION. from __future__ import annotations from typing import Generic, TypeVar import cupy as cp import cudf from cudf import Series import cuspatial from cuspatial.core.binpreds.binpred_interface import ( BinPred, EqualsOpResult, ImpossiblePredicate, NotImplemente...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_disjoint.py
# Copyright (c) 2023, NVIDIA CORPORATION. from cuspatial.core.binpreds.basic_predicates import ( _basic_contains_any, _basic_equals_any, _basic_intersects, ) from cuspatial.core.binpreds.binpred_interface import ( BinPred, NotImplementedPredicate, ) from cuspatial.core.binpreds.feature_intersects i...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/feature_contains.py
# Copyright (c) 2023, NVIDIA CORPORATION. from typing import TypeVar import cudf from cuspatial.core.binpreds.basic_predicates import ( _basic_contains_count, _basic_equals_any, _basic_equals_count, _basic_intersects, _basic_intersects_pli, ) from cuspatial.core.binpreds.binpred_interface import ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/binpred_interface.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. from typing import TYPE_CHECKING, Tuple from cudf import Series from cuspatial.utils.binpred_utils import _false_series if TYPE_CHECKING: from cuspatial.core.geoseries import GeoSeries class BinPredConfig: """Configuration for a binary predicate. Paramet...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/basic_predicates.py
# Copyright (c) 2023, NVIDIA CORPORATION. import cudf from cuspatial.core.binops.equals_count import pairwise_multipoint_equals_count from cuspatial.utils.binpred_utils import ( _linestrings_from_geometry, _multipoints_from_geometry, _multipoints_is_degenerate, _points_and_lines_to_multipoints, _z...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binpreds/contains.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. from math import ceil, sqrt import cudf from cudf import DataFrame, Series from cudf.core.column import as_column import cuspatial from cuspatial._lib.pairwise_point_in_polygon import ( pairwise_point_in_polygon as cpp_pairwise_point_in_polygon, ) from cuspatial._li...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/_column/geometa.py
# Copyright (c) 2021-2022 NVIDIA CORPORATION # This allows GeoMeta as its own init type from __future__ import annotations from enum import Enum from typing import Union import cudf # This causes arrow to encode NONE as =255, which I'll accept now # in order to keep the rest of the enums the same. class Feature_En...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/_column/__init__.py
# Copyright (c) 2022, NVIDIA CORPORATION
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/_column/geocolumn.py
# Copyright (c) 2021-2023 NVIDIA CORPORATION from enum import Enum from functools import cached_property from typing import Tuple, TypeVar import cupy as cp import pyarrow as pa import cudf from cudf.core.column import ColumnBase, arange, as_column, build_list_column from cuspatial.core._column.geometa import Featu...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binops/intersection.py
# Copyright (c) 2023, NVIDIA CORPORATION. from typing import TYPE_CHECKING import cudf from cudf.core.column import arange, build_list_column from cuspatial._lib.intersection import ( pairwise_linestring_intersection as c_pairwise_linestring_intersection, ) from cuspatial.core._column.geocolumn import GeoColumn ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binops/distance_dispatch.py
import cudf from cudf.core.column import arange, full from cuspatial._lib.distance import ( pairwise_linestring_distance, pairwise_linestring_polygon_distance, pairwise_point_distance, pairwise_point_linestring_distance, pairwise_point_polygon_distance, pairwise_polygon_distance, ) from cuspati...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/core/binops/equals_count.py
# Copyright (c) 2023, NVIDIA CORPORATION. import cudf from cuspatial._lib.pairwise_multipoint_equals_count import ( pairwise_multipoint_equals_count as c_pairwise_multipoint_equals_count, ) from cuspatial.utils.column_utils import contains_only_multipoints def pairwise_multipoint_equals_count(lhs, rhs): """...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/distance.pyx
# Copyright (c) 2022-2023, NVIDIA CORPORATION. from libcpp.memory cimport make_shared, shared_ptr, unique_ptr from libcpp.utility cimport move, pair from cudf._lib.column cimport Column from cudf._lib.cpp.column.column cimport column from cudf._lib.cpp.column.column_view cimport column_view from cudf._lib.cpp.table.t...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/point_in_polygon.pyx
# Copyright (c) 2020, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.utility cimport move from cudf._lib.column cimport Column, column, column_view from cuspatial._lib.cpp.point_in_polygon cimport ( point_in_polygon as cpp_point_in_polygon, ) def point_in_polygon( Column test_points_...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/utils.pxd
# Copyright (c) 2022, NVIDIA CORPORATION. from cudf._lib.cpp.column.column_view cimport column_view from cuspatial._lib.cpp.optional cimport nullopt, optional cdef optional[column_view] unwrap_pyoptcol(object pyoptcol) except*
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/types.pxd
# Copyright (c) 2023, NVIDIA CORPORATION. from libc.stdint cimport uint8_t from cuspatial._lib.cpp.types cimport collection_type_id, geometry_type_id ctypedef uint8_t underlying_geometry_type_id_t ctypedef uint8_t underlying_collection_type_id_t cdef geometry_type_id geometry_type_py_to_c(typ) except* cdef colle...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/pairwise_point_in_polygon.pyx
# Copyright (c) 2022, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.utility cimport move from cudf._lib.column cimport Column, column, column_view from cuspatial._lib.cpp.pairwise_point_in_polygon cimport ( pairwise_point_in_polygon as cpp_pairwise_point_in_polygon, ) def pairwise_point...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/CMakeLists.txt
# ============================================================================= # Copyright (c) 2022-2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apa...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/types.pyx
# Copyright (c) 2022, NVIDIA CORPORATION. from enum import IntEnum from cuspatial._lib.cpp.types cimport collection_type_id, geometry_type_id from cuspatial._lib.types cimport ( underlying_collection_type_id_t, underlying_geometry_type_id_t, ) class GeometryType(IntEnum): POINT = ( <underlying_g...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/intersection.pyx
# Copyright (c) 2023, NVIDIA CORPORATION. from libcpp.memory cimport make_shared, shared_ptr from libcpp.utility cimport move from cudf._lib.column cimport Column from cuspatial._lib.types import CollectionType, GeometryType from cuspatial._lib.cpp.column.geometry_column_view cimport ( geometry_column_view, ) f...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/trajectory.pyx
# Copyright (c) 2019-2020, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.pair cimport pair from libcpp.utility cimport move from cudf._lib.column cimport Column from cudf._lib.cpp.column.column cimport column from cudf._lib.cpp.column.column_view cimport column_view from cudf._lib.cpp.table.ta...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/quadtree.pyx
# Copyright (c) 2020, NVIDIA CORPORATION. from libc.stdint cimport int8_t from libcpp.memory cimport unique_ptr from libcpp.pair cimport pair from libcpp.utility cimport move from cudf._lib.column cimport Column from cudf._lib.cpp.column.column cimport column from cudf._lib.cpp.column.column_view cimport column_view ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/spatial.pyx
# Copyright (c) 2019, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.pair cimport pair from libcpp.utility cimport move from cudf._lib.column cimport Column from cudf._lib.cpp.column.column cimport column from cudf._lib.cpp.column.column_view cimport column_view from cuspatial._lib.cpp.project...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/utils.pyx
# Copyright (c) 2022, NVIDIA CORPORATION. from cudf._lib.column cimport Column from cudf._lib.cpp.column.column_view cimport column_view from cuspatial._lib.cpp.optional cimport nullopt, optional cdef optional[column_view] unwrap_pyoptcol(pyoptcol) except *: # Unwrap python optional Column arg to c optional[colu...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/polygon_bounding_boxes.pyx
# Copyright (c) 2020-2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.utility cimport move from cudf._lib.column cimport Column from cudf._lib.cpp.column.column_view cimport column_view from cudf._lib.cpp.table.table cimport table from cudf._lib.utils cimport columns_from_unique_ptr from c...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/nearest_points.pyx
# Copyright (c) 2022-2023, NVIDIA CORPORATION. from libcpp.utility cimport move from cudf._lib.column cimport Column from cudf._lib.cpp.column.column_view cimport column_view from cuspatial._lib.cpp.nearest_points cimport ( pairwise_point_linestring_nearest_points as c_func, point_linestring_nearest_points_r...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/points_in_range.pyx
# Copyright (c) 2020-2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.utility cimport move from cudf._lib.column cimport Column, column_view from cudf._lib.cpp.table.table cimport table from cudf._lib.utils cimport data_from_unique_ptr from cuspatial._lib.cpp.points_in_range cimport ( ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/spatial_join.pyx
# Copyright (c) 2020-2022, NVIDIA CORPORATION. from libc.stdint cimport int8_t from libcpp.memory cimport unique_ptr from libcpp.utility cimport move from cudf._lib.column cimport Column, column_view from cudf._lib.cpp.table.table cimport table, table_view from cudf._lib.utils cimport data_from_unique_ptr, table_view...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/pairwise_multipoint_equals_count.pyx
# Copyright (c) 2023, NVIDIA CORPORATION. from libcpp.memory cimport make_shared, shared_ptr, unique_ptr from libcpp.utility cimport move from cudf._lib.column cimport Column, column from cuspatial._lib.cpp.column.geometry_column_view cimport ( geometry_column_view, ) from cuspatial._lib.cpp.pairwise_multipoint_...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/linestring_bounding_boxes.pyx
# Copyright (c) 2020-2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.utility cimport move from cudf._lib.column cimport Column from cudf._lib.cpp.column.column_view cimport column_view from cudf._lib.cpp.table.table cimport table from cudf._lib.utils cimport columns_from_unique_ptr from c...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/nearest_points.pxd
# Copyright (c) 2022-2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.column cimport column, column_view from cuspatial._lib.cpp.optional cimport optional cdef extern from "cuspatial/nearest_points.hpp" \ namespace "cuspatial" nogil: cdef struct point_linestring_nearest_p...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/types.pxd
# Copyright (c) 2023, NVIDIA CORPORATION. cdef extern from "cuspatial/types.hpp" namespace "cuspatial" nogil: cdef enum geometry_type_id: POINT "cuspatial::geometry_type_id::POINT" LINESTRING "cuspatial::geometry_type_id::LINESTRING" POLYGON "cuspatial::geometry_type_id::POLYGON" ctype...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/quadtree.pxd
# Copyright (c) 2020, NVIDIA CORPORATION. from libc.stdint cimport int8_t from libcpp.memory cimport unique_ptr from libcpp.pair cimport pair from cudf._lib.cpp.column.column cimport column from cudf._lib.cpp.column.column_view cimport column_view from cudf._lib.cpp.table.table cimport table from cudf._lib.cpp.types ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/polygon_bounding_boxes.pxd
# Copyright (c) 2020-2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.cpp.column.column_view cimport column_view from cudf._lib.cpp.table.table cimport table cdef extern from "cuspatial/bounding_boxes.hpp" \ namespace "cuspatial" nogil: cdef unique_ptr[table] polygon_boundi...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/projection.pxd
# Copyright (c) 2020-2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.pair cimport pair from cudf._lib.cpp.column.column cimport column from cudf._lib.cpp.column.column_view cimport column_view cdef extern from "cuspatial/projection.hpp" namespace "cuspatial" \ nogil: cdef pai...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/pairwise_point_in_polygon.pxd
# Copyright (c) 2022-2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.column cimport column, column_view cdef extern from "cuspatial/point_in_polygon.hpp" \ namespace "cuspatial" nogil: cdef unique_ptr[column] pairwise_point_in_polygon( const column_view & test_poin...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/pairwise_multipoint_equals_count.pxd
# Copyright (c) 2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.column cimport column, column_view from cuspatial._lib.cpp.column.geometry_column_view cimport ( geometry_column_view, ) cdef extern from "cuspatial/pairwise_multipoint_equals_count.hpp" \ namespace "cuspatia...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/distance.pxd
# Copyright (c) 2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.utility cimport pair from cudf._lib.cpp.column.column cimport column from cudf._lib.cpp.column.column_view cimport column_view from cudf._lib.cpp.table.table_view cimport table_view from cuspatial._lib.cpp.column.geometry_col...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/linestring_intersection.pxd
# Copyright (c) 2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.column cimport column, column_view from cuspatial._lib.cpp.column.geometry_column_view cimport ( geometry_column_view, ) cdef extern from "cuspatial/intersection.hpp" \ namespace "cuspatial" nogil: struc...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/points_in_range.pxd
# Copyright (c) 2020-2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.column cimport column, column_view from cudf._lib.cpp.table.table cimport table, table_view cdef extern from "cuspatial/points_in_range.hpp" namespace "cuspatial" nogil: cdef unique_ptr[table] points_in_range \ ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/point_in_polygon.pxd
# Copyright (c) 2020, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.column cimport column, column_view cdef extern from "cuspatial/point_in_polygon.hpp" namespace "cuspatial" nogil: cdef unique_ptr[column] point_in_polygon( const column_view & test_points_x, const colu...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/trajectory.pxd
# Copyright (c) 2020, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from libcpp.pair cimport pair from cudf._lib.cpp.column.column cimport column from cudf._lib.cpp.column.column_view cimport column_view from cudf._lib.cpp.table.table cimport table from cudf._lib.cpp.types cimport size_type cdef extern ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/spatial_join.pxd
# Copyright (c) 2020-2022, NVIDIA CORPORATION. from libc.stdint cimport int8_t from libcpp.memory cimport unique_ptr from cudf._lib.column cimport column_view from cudf._lib.cpp.table.table cimport table, table_view cdef extern from "cuspatial/spatial_join.hpp" namespace "cuspatial" nogil: cdef unique_ptr[tabl...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/optional.pxd
from libcpp cimport bool # Backported to cython 0.29 from https://github.com/cython/cython/pull/3294 cdef extern from "<optional>" namespace "std" nogil: cdef cppclass nullopt_t: nullopt_t() cdef nullopt_t nullopt cdef cppclass optional[T]: ctypedef T value_type optional() ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/linestring_bounding_boxes.pxd
# Copyright (c) 2020-2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.cpp.column.column_view cimport column_view from cudf._lib.cpp.table.table cimport table cdef extern from "cuspatial/bounding_boxes.hpp" \ namespace "cuspatial" nogil: cdef unique_ptr[table] linestring_bou...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/distance/polygon_distance.pxd
# Copyright (c) 2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.cpp.column.column cimport column from cuspatial._lib.cpp.column.geometry_column_view cimport ( geometry_column_view, ) cdef extern from "cuspatial/distance.hpp" \ namespace "cuspatial" nogil: cdef unique_...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/_lib/cpp/column/geometry_column_view.pxd
# Copyright (c) 2023, NVIDIA CORPORATION. from libcpp.memory cimport unique_ptr from cudf._lib.column cimport column, column_view from cuspatial._lib.cpp.types cimport collection_type_id, geometry_type_id cdef extern from "cuspatial/column/geometry_column_view.hpp" \ namespace "cuspatial" nogil: cdef ...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/io/geopandas_reader.py
# Copyright (c) 2020-2022 NVIDIA CORPORATION. from geopandas import GeoSeries as gpGeoSeries from shapely.geometry import ( LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon, mapping, ) import cudf from cuspatial.core._column.geometa import Feature_Enum from cuspatial....
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/io/pygeoarrow.py
# Copyright (c) 2022, NVIDIA CORPORATION from typing import List import pyarrow as pa ArrowPolygonsType: pa.ListType = pa.list_( pa.list_(pa.list_(pa.list_(pa.float64()))) ) ArrowLinestringsType: pa.ListType = pa.list_(pa.list_(pa.list_(pa.float64()))) ArrowMultiPointsType: pa.ListType = pa.list_(pa.list_(pa.f...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/cuspatial/io/geopandas.py
# Copyright (c) 2020-2022, NVIDIA CORPORATION. import pandas as pd from geopandas import GeoDataFrame as gpGeoDataFrame from geopandas.geoseries import GeoSeries as gpGeoSeries from cuspatial import GeoDataFrame, GeoSeries def from_geopandas(gpdf): """ Converts a geopandas mixed geometry dataframe into a cu...
0
rapidsai_public_repos/cuspatial/python/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/benchmarks/conftest.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. """Defines pytest fixtures for all benchmarks. The cuspatial fixture is a single randomly generated GeoDataframe, containing 4 columns: 1 GeoSeries column, an int column, a float column, and a string column. """ import cupy as cp import geopandas as gpd import numpy as ...
0
rapidsai_public_repos/cuspatial/python/cuspatial
rapidsai_public_repos/cuspatial/python/cuspatial/benchmarks/pytest.ini
# Copyright (c) 2022, NVIDIA CORPORATION. [pytest] python_files = bench_*.py python_classes = Bench python_functions = bench_*
0
rapidsai_public_repos/cuspatial/python/cuspatial/benchmarks
rapidsai_public_repos/cuspatial/python/cuspatial/benchmarks/api/bench_api.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. import cupy import geopandas import pytest import cudf import cuspatial def bench_io_from_geopandas(benchmark, host_dataframe): benchmark(cuspatial.from_geopandas, host_dataframe) def bench_io_to_geopandas(benchmark, gpu_dataframe): benchmark( gpu_dat...
0
rapidsai_public_repos/cuspatial/python/cuspatial/benchmarks
rapidsai_public_repos/cuspatial/python/cuspatial/benchmarks/io/bench_geoseries.py
# Copyright (c) 2022, NVIDIA CORPORATION. """Benchmarks of GeoSeries methods.""" import cuspatial def bench_from_geoseries_100(benchmark, gpdf_100): benchmark(cuspatial.from_geopandas, gpdf_100["geometry"]) def bench_from_geoseries_1000(benchmark, gpdf_1000): benchmark(cuspatial.from_geopandas, gpdf_1000[...
0
rapidsai_public_repos/cuspatial/python/cuspatial/cmake
rapidsai_public_repos/cuspatial/python/cuspatial/cmake/Modules/WheelHelpers.cmake
# ============================================================================= # Copyright (c) 2023, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except # in compliance with the License. You may obtain a copy of the License at # # http://www.apache.o...
0
rapidsai_public_repos/cuspatial
rapidsai_public_repos/cuspatial/java/LICENSE-bundled
The binary distribution of this product bundles binaries of Boost which are available under the following license: Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covere...
0
rapidsai_public_repos/cuspatial
rapidsai_public_repos/cuspatial/java/README.md
# Java Bindings for Cuspatial This project is a Java layer bridging Java user and libcuspatial.so Follow these instructions to create local builds and installation of librmm, libcudf and cudf-java, and libcuspatial ## Build and Install Dependencies: ### 1. libcudf and cudf-java 1.1) Follow instructions on this page...
0
rapidsai_public_repos/cuspatial
rapidsai_public_repos/cuspatial/java/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2020, NVIDIA CORPORATION. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unles...
0
rapidsai_public_repos/cuspatial/java
rapidsai_public_repos/cuspatial/java/dev/cudf_java_styles.xml
<code_scheme name="cudf_java" version="173"> <JavaCodeStyleSettings> <option name="JD_ADD_BLANK_AFTER_DESCRIPTION" value="false" /> </JavaCodeStyleSettings> <codeStyleSettings language="JAVA"> <option name="RIGHT_MARGIN" value="100" /> <option name="KEEP_SIMPLE_BLOCKS_IN_ONE_LINE" value="true" /> ...
0
rapidsai_public_repos/cuspatial/java/src/main/java/ai/rapids
rapidsai_public_repos/cuspatial/java/src/main/java/ai/rapids/cuspatial/CuSpatialNativeDepsLoader.java
/* * Copyright (c) 2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/cuspatial/java/src/main/java/ai/rapids
rapidsai_public_repos/cuspatial/java/src/main/java/ai/rapids/cuspatial/CuSpatialException.java
/* * Copyright (c) 2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/cuspatial/java/src/main/java/ai/rapids
rapidsai_public_repos/cuspatial/java/src/main/java/ai/rapids/cuspatial/Pair.java
/* * * Copyright (c) 2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
0
rapidsai_public_repos/cuspatial/java/src/main/java/ai/rapids
rapidsai_public_repos/cuspatial/java/src/main/java/ai/rapids/cuspatial/CuSpatial.java
/* * * Copyright (c) 2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
0
rapidsai_public_repos/cuspatial/java/src/main
rapidsai_public_repos/cuspatial/java/src/main/native/CMakeLists.txt
#============================================================================= # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
0
rapidsai_public_repos/cuspatial/java/src/main
rapidsai_public_repos/cuspatial/java/src/main/native/clang-format.README
README ====== To apply code formatting to a file you are working on, currently you can do this manually using clang-format-7: This will edit the file, and print to stdout: clang-format [file] This will edit the file in place, do this if you are sure of what you are doing: clang-format -i [file]
0
rapidsai_public_repos/cuspatial/java/src/main
rapidsai_public_repos/cuspatial/java/src/main/native/.clang-format
--- # Reference: https://clang.llvm.org/docs/ClangFormatStyleOptions.html Language: Cpp # BasedOnStyle: LLVM # no indentation (-2 from indent, which is 2) AccessModifierOffset: -2 AlignAfterOpenBracket: Align # int aaaa = 12; # int b = 23; # int ccc = 23; # leaving OFF AlignConsecutiveAssignments: false # ...
0
rapidsai_public_repos/cuspatial/java/src/main/native
rapidsai_public_repos/cuspatial/java/src/main/native/src/cuSpatialJni.cpp
/* * Copyright (c) 2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/cuspatial/java/src/test/java/ai/rapids
rapidsai_public_repos/cuspatial/java/src/test/java/ai/rapids/cuspatial/CuSpatialTest.java
/* * * Copyright (c) 2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
0
rapidsai_public_repos/cuspatial/java/src/test/java/ai/rapids
rapidsai_public_repos/cuspatial/java/src/test/java/ai/rapids/cuspatial/CuSpatialTestNativeDepsLoader.java
/* * Copyright (c) 2020, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
rapidsai_public_repos/cuspatial/java
rapidsai_public_repos/cuspatial/java/buildscripts/build-info
#!/usr/bin/env bash # # Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
0
rapidsai_public_repos/cuspatial/conda
rapidsai_public_repos/cuspatial/conda/environments/all_cuda-120_arch-x86_64.yaml
# This file is generated by `rapids-dependency-file-generator`. # To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. channels: - rapidsai - rapidsai-nightly - conda-forge - nvidia dependencies: - c-compiler - clang-tools=16.0.6 - cmake>=3.26.4 - cuda-cudart-dev - cuda-cupti-dev - ...
0
rapidsai_public_repos/cuspatial/conda
rapidsai_public_repos/cuspatial/conda/environments/all_cuda-118_arch-x86_64.yaml
# This file is generated by `rapids-dependency-file-generator`. # To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. channels: - rapidsai - rapidsai-nightly - conda-forge - nvidia dependencies: - c-compiler - clang-tools=16.0.6 - cmake>=3.26.4 - cuda-version=11.8 - cudatoolkit - c...
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/cuproj/conda_build_config.yaml
c_compiler_version: - 11 cxx_compiler_version: - 11 cuda_compiler: - cuda-nvcc cuda11_compiler: - nvcc sysroot_version: - "2.17" cmake_version: - ">=3.26.4"
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/cuproj/build.sh
# Copyright (c) 2023, NVIDIA CORPORATION. # This assumes the script is executed from the root of the repo directory ./build.sh cuproj
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/cuproj/meta.yaml
# Copyright (c) 2018-2023, NVIDIA CORPORATION. {% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} {% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} {% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} {% set cuda_major = cuda_version.split('.')[0] ...
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/libcuspatial/conda_build_config.yaml
c_compiler_version: - 11 cxx_compiler_version: - 11 cuda_compiler: - cuda-nvcc cuda11_compiler: - nvcc cmake_version: - ">=3.26.4" gtest_version: - ">=1.13.0" sysroot_version: - "2.17"
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/libcuspatial/install_libcuspatial.sh
#!/bin/bash # Copyright (c) 2022, NVIDIA CORPORATION. cmake --install cpp/build
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/libcuspatial/build.sh
# Copyright (c) 2018-2023, NVIDIA CORPORATION. # build cuspatial with verbose output ./build.sh -v libcuspatial tests benchmarks --allgpuarch -n \ --cmake-args=\"-DNVBench_ENABLE_CUPTI=OFF\"
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/libcuspatial/meta.yaml
# Copyright (c) 2018-2023, NVIDIA CORPORATION. {% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} {% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} {% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} {% set cuda_major = cuda_version.split('.')[0] ...
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/libcuspatial/install_libcuspatial_tests.sh
#!/bin/bash # Copyright (c) 2022, NVIDIA CORPORATION. cmake --install cpp/build --component testing
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/cuspatial/conda_build_config.yaml
c_compiler_version: - 11 cxx_compiler_version: - 11 cuda_compiler: - cuda-nvcc cuda11_compiler: - nvcc sysroot_version: - "2.17" cmake_version: - ">=3.26.4"
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/cuspatial/build.sh
# Copyright (c) 2018-2019, NVIDIA CORPORATION. # Ignore conda-provided CMAKE_ARGS for the Python build. unset CMAKE_ARGS # This assumes the script is executed from the root of the repo directory ./build.sh cuspatial
0
rapidsai_public_repos/cuspatial/conda/recipes
rapidsai_public_repos/cuspatial/conda/recipes/cuspatial/meta.yaml
# Copyright (c) 2018-2023, NVIDIA CORPORATION. {% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} {% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} {% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} {% set cuda_major = cuda_version.split('.')[0] ...
0
rapidsai_public_repos/cuspatial
rapidsai_public_repos/cuspatial/cpp/.clangd
# https://clangd.llvm.org/config # Apply a config conditionally to all C files If: PathMatch: .*\.(c|h)$ --- # Apply a config conditionally to all C++ files If: PathMatch: .*\.(c|h)pp --- # Apply a config conditionally to all CUDA files If: PathMatch: .*\.cuh? CompileFlags: Add: - "-x" - "cuda" ...
0