diff --git a/cpp/include/raft/cluster/specializations.cuh b/cpp/include/raft/cluster/specializations.cuh new file mode 100644 index 0000000000..3bb5a26ace --- /dev/null +++ b/cpp/include/raft/cluster/specializations.cuh @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2022, 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 or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef __CLUSTER_SPECIALIZATIONS_H +#define __CLUSTER_SPECIALIZATIONS_H + +#pragma once + +#include +#include + +#endif \ No newline at end of file diff --git a/cpp/include/raft/spectral/specializations.cuh b/cpp/include/raft/spectral/specializations.cuh new file mode 100644 index 0000000000..2303b426fd --- /dev/null +++ b/cpp/include/raft/spectral/specializations.cuh @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2022, 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 or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#ifndef __SPECTRAL_SPECIALIZATIONS_H +#define __SPECTRAL_SPECIALIZATIONS_H + +#pragma once + +#include +#include + +#endif \ No newline at end of file diff --git a/cpp/test/cluster/kmeans.cu b/cpp/test/cluster/kmeans.cu index 247386b550..24fe2c03cd 100644 --- a/cpp/test/cluster/kmeans.cu +++ b/cpp/test/cluster/kmeans.cu @@ -29,6 +29,10 @@ #include #include +#if defined RAFT_DISTANCE_COMPILED && defined RAFT_NN_COMPILED +#include +#endif + namespace raft { template diff --git a/cpp/test/cluster_solvers.cu b/cpp/test/cluster_solvers.cu index d475fd2a69..0c74b81e99 100644 --- a/cpp/test/cluster_solvers.cu +++ b/cpp/test/cluster_solvers.cu @@ -19,6 +19,10 @@ #include #include +#if defined RAFT_DISTANCE_COMPILED && defined RAFT_NN_COMPILED +#include +#endif + #include #include