jasonfan commited on
Commit
275f52e
·
verified ·
1 Parent(s): fd7738a

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/copy.h +34 -0
  2. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/for_each.h +34 -0
  3. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/reduce.h +34 -0
  4. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/scan.h +34 -0
  5. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/sort.h +34 -0
  6. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/transform.h +34 -0
  7. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/per_device_resource.h +41 -0
  8. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/reduce.h +44 -0
  9. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/reduce_by_key.h +44 -0
  10. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/remove.h +44 -0
  11. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/replace.h +44 -0
  12. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/reverse.h +44 -0
  13. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/scan.h +44 -0
  14. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/scan_by_key.h +44 -0
  15. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/scatter.h +44 -0
  16. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/sequence.h +44 -0
  17. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/set_operations.h +44 -0
  18. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/sort.h +44 -0
  19. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/swap_ranges.h +44 -0
  20. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/tabulate.h +44 -0
  21. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/temporary_buffer.h +44 -0
  22. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/transform.h +44 -0
  23. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/transform_reduce.h +44 -0
  24. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/transform_scan.h +44 -0
  25. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/uninitialized_copy.h +44 -0
  26. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/uninitialized_fill.h +44 -0
  27. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/unique.h +44 -0
  28. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/unique_by_key.h +44 -0
  29. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/adjacent_difference.h +57 -0
  30. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/adjacent_difference.inl +82 -0
  31. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/advance.h +40 -0
  32. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/advance.inl +68 -0
  33. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/binary_search.h +173 -0
  34. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/binary_search.inl +396 -0
  35. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/copy.h +58 -0
  36. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/copy.inl +80 -0
  37. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/copy_if.h +63 -0
  38. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/copy_if.inl +160 -0
  39. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/count.h +50 -0
  40. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/count.inl +82 -0
  41. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/distance.h +42 -0
  42. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/distance.inl +80 -0
  43. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/equal.h +47 -0
  44. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/equal.inl +59 -0
  45. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/extrema.h +88 -0
  46. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/extrema.inl +262 -0
  47. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/fill.h +61 -0
  48. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/find.h +62 -0
  49. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/find.inl +151 -0
  50. miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/for_each.h +77 -0
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/copy.h ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ // The purpose of this header is to #include the async/copy.h header of the
18
+ // sequential, host, and device systems. It should be #included in any code
19
+ // which uses ADL to dispatch async copy.
20
+
21
+ #pragma once
22
+
23
+ #include <thrust/detail/config.h>
24
+
25
+ //#include <thrust/system/detail/sequential/async/copy.h>
26
+
27
+ //#define __THRUST_HOST_SYSTEM_ASYNC_COPY_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/async/copy.h>
28
+ //#include __THRUST_HOST_SYSTEM_ASYNC_COPY_HEADER
29
+ //#undef __THRUST_HOST_SYSTEM_ASYNC_COPY_HEADER
30
+
31
+ #define __THRUST_DEVICE_SYSTEM_ASYNC_COPY_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/async/copy.h>
32
+ #include __THRUST_DEVICE_SYSTEM_ASYNC_COPY_HEADER
33
+ #undef __THRUST_DEVICE_SYSTEM_ASYNC_COPY_HEADER
34
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/for_each.h ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ // The purpose of this header is to #include the async/for_each.h header of the
18
+ // sequential, host, and device systems. It should be #included in any code
19
+ // which uses ADL to dispatch async for_each.
20
+
21
+ #pragma once
22
+
23
+ #include <thrust/detail/config.h>
24
+
25
+ //#include <thrust/system/detail/sequential/async/for_each.h>
26
+
27
+ //#define __THRUST_HOST_SYSTEM_ASYNC_FOR_EACH_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/async/for_each.h>
28
+ //#include __THRUST_HOST_SYSTEM_ASYNC_FOR_EACH_HEADER
29
+ //#undef __THRUST_HOST_SYSTEM_ASYNC_FOR_EACH_HEADER
30
+
31
+ #define __THRUST_DEVICE_SYSTEM_ASYNC_FOR_EACH_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/async/for_each.h>
32
+ #include __THRUST_DEVICE_SYSTEM_ASYNC_FOR_EACH_HEADER
33
+ #undef __THRUST_DEVICE_SYSTEM_ASYNC_FOR_EACH_HEADER
34
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/reduce.h ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ // The purpose of this header is to #include the async/reduce.h header of the
18
+ // sequential, host, and device systems. It should be #included in any code
19
+ // which uses ADL to dispatch async reduce.
20
+
21
+ #pragma once
22
+
23
+ #include <thrust/detail/config.h>
24
+
25
+ //#include <thrust/system/detail/sequential/async/reduce.h>
26
+
27
+ //#define __THRUST_HOST_SYSTEM_ASYNC_REDUCE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/async/reduce.h>
28
+ //#include __THRUST_HOST_SYSTEM_ASYNC_REDUCE_HEADER
29
+ //#undef __THRUST_HOST_SYSTEM_ASYNC_REDUCE_HEADER
30
+
31
+ #define __THRUST_DEVICE_SYSTEM_ASYNC_REDUCE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/async/reduce.h>
32
+ #include __THRUST_DEVICE_SYSTEM_ASYNC_REDUCE_HEADER
33
+ #undef __THRUST_DEVICE_SYSTEM_ASYNC_REDUCE_HEADER
34
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/scan.h ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2020 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ // The purpose of this header is to #include the async/scan.h header of the
18
+ // sequential, host, and device systems. It should be #included in any code
19
+ // which uses ADL to dispatch async scans.
20
+
21
+ #pragma once
22
+
23
+ #include <thrust/detail/config.h>
24
+
25
+ //#include <thrust/system/detail/sequential/async/scan.h>
26
+
27
+ //#define __THRUST_HOST_SYSTEM_ASYNC_SCAN_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/async/scan.h>
28
+ //#include __THRUST_HOST_SYSTEM_ASYNC_SCAN_HEADER
29
+ //#undef __THRUST_HOST_SYSTEM_ASYNC_SCAN_HEADER
30
+
31
+ #define __THRUST_DEVICE_SYSTEM_ASYNC_SCAN_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/async/scan.h>
32
+ #include __THRUST_DEVICE_SYSTEM_ASYNC_SCAN_HEADER
33
+ #undef __THRUST_DEVICE_SYSTEM_ASYNC_SCAN_HEADER
34
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/sort.h ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ // The purpose of this header is to #include the async/sort.h header of the
18
+ // sequential, host, and device systems. It should be #included in any code
19
+ // which uses ADL to dispatch async sort.
20
+
21
+ #pragma once
22
+
23
+ #include <thrust/detail/config.h>
24
+
25
+ //#include <thrust/system/detail/sequential/async/sort.h>
26
+
27
+ //#define __THRUST_HOST_SYSTEM_ASYNC_SORT_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/async/sort.h>
28
+ //#include __THRUST_HOST_SYSTEM_ASYNC_SORT_HEADER
29
+ //#undef __THRUST_HOST_SYSTEM_ASYNC_SORT_HEADER
30
+
31
+ #define __THRUST_DEVICE_SYSTEM_ASYNC_SORT_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/async/sort.h>
32
+ #include __THRUST_DEVICE_SYSTEM_ASYNC_SORT_HEADER
33
+ #undef __THRUST_DEVICE_SYSTEM_ASYNC_SORT_HEADER
34
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/async/transform.h ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2018 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a transform of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ // The purpose of this header is to #include the async/transform.h header of the
18
+ // sequential, host, and device systems. It should be #included in any code
19
+ // which uses ADL to dispatch async transform.
20
+
21
+ #pragma once
22
+
23
+ #include <thrust/detail/config.h>
24
+
25
+ //#include <thrust/system/detail/sequential/async/transform.h>
26
+
27
+ //#define __THRUST_HOST_SYSTEM_ASYNC_TRANSFORM_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/async/transform.h>
28
+ //#include __THRUST_HOST_SYSTEM_ASYNC_TRANSFORM_HEADER
29
+ //#undef __THRUST_HOST_SYSTEM_ASYNC_TRANSFORM_HEADER
30
+
31
+ #define __THRUST_DEVICE_SYSTEM_ASYNC_TRANSFORM_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/async/transform.h>
32
+ #include __THRUST_DEVICE_SYSTEM_ASYNC_TRANSFORM_HEADER
33
+ #undef __THRUST_DEVICE_SYSTEM_ASYNC_TRANSFORM_HEADER
34
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/per_device_resource.h ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2018 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the per_device_resource.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch per_device_resource
24
+
25
+ #include <thrust/system/detail/sequential/per_device_resource.h>
26
+
27
+ #if 0
28
+ #include <thrust/system/cpp/detail/per_device_resource.h>
29
+ #include <thrust/system/cuda/detail/per_device_resource.h>
30
+ #include <thrust/system/omp/detail/per_device_resource.h>
31
+ #include <thrust/system/tbb/detail/per_device_resource.h>
32
+ #endif
33
+
34
+ #define __THRUST_HOST_SYSTEM_PER_DEVICE_RESOURCE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/per_device_resource.h>
35
+ #include __THRUST_HOST_SYSTEM_PER_DEVICE_RESOURCE_HEADER
36
+ #undef __THRUST_HOST_SYSTEM_PER_DEVICE_RESOURCE_HEADER
37
+
38
+ #define __THRUST_DEVICE_SYSTEM_PER_DEVICE_RESOURCE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/per_device_resource.h>
39
+ #include __THRUST_DEVICE_SYSTEM_PER_DEVICE_RESOURCE_HEADER
40
+ #undef __THRUST_DEVICE_SYSTEM_PER_DEVICE_RESOURCE_HEADER
41
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/reduce.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the reduce.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch reduce
24
+
25
+ #include <thrust/system/detail/sequential/reduce.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/reduce.h>
32
+ #include <thrust/system/cuda/detail/reduce.h>
33
+ #include <thrust/system/omp/detail/reduce.h>
34
+ #include <thrust/system/tbb/detail/reduce.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_REDUCE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/reduce.h>
38
+ #include __THRUST_HOST_SYSTEM_REDUCE_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_REDUCE_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_REDUCE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/reduce.h>
42
+ #include __THRUST_DEVICE_SYSTEM_REDUCE_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_REDUCE_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/reduce_by_key.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the reduce_by_key.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch reduce_by_key
24
+
25
+ #include <thrust/system/detail/sequential/reduce_by_key.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/reduce_by_key.h>
32
+ #include <thrust/system/cuda/detail/reduce_by_key.h>
33
+ #include <thrust/system/omp/detail/reduce_by_key.h>
34
+ #include <thrust/system/tbb/detail/reduce_by_key.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_REDUCE_BY_KEY_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/reduce_by_key.h>
38
+ #include __THRUST_HOST_SYSTEM_REDUCE_BY_KEY_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_REDUCE_BY_KEY_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_REDUCE_BY_KEY_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/reduce_by_key.h>
42
+ #include __THRUST_DEVICE_SYSTEM_REDUCE_BY_KEY_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_REDUCE_BY_KEY_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/remove.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the remove.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch remove
24
+
25
+ #include <thrust/system/detail/sequential/remove.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/remove.h>
32
+ #include <thrust/system/cuda/detail/remove.h>
33
+ #include <thrust/system/omp/detail/remove.h>
34
+ #include <thrust/system/tbb/detail/remove.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_REMOVE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/remove.h>
38
+ #include __THRUST_HOST_SYSTEM_REMOVE_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_REMOVE_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_REMOVE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/remove.h>
42
+ #include __THRUST_DEVICE_SYSTEM_REMOVE_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_REMOVE_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/replace.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the replace.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch replace
24
+
25
+ #include <thrust/system/detail/sequential/replace.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/replace.h>
32
+ #include <thrust/system/cuda/detail/replace.h>
33
+ #include <thrust/system/omp/detail/replace.h>
34
+ #include <thrust/system/tbb/detail/replace.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_REPLACE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/replace.h>
38
+ #include __THRUST_HOST_SYSTEM_REPLACE_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_REPLACE_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_REPLACE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/replace.h>
42
+ #include __THRUST_DEVICE_SYSTEM_REPLACE_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_REPLACE_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/reverse.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the reverse.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch reverse
24
+
25
+ #include <thrust/system/detail/sequential/reverse.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/reverse.h>
32
+ #include <thrust/system/cuda/detail/reverse.h>
33
+ #include <thrust/system/omp/detail/reverse.h>
34
+ #include <thrust/system/tbb/detail/reverse.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_REVERSE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/reverse.h>
38
+ #include __THRUST_HOST_SYSTEM_REVERSE_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_REVERSE_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_REVERSE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/reverse.h>
42
+ #include __THRUST_DEVICE_SYSTEM_REVERSE_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_REVERSE_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/scan.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the scan.h header
22
+ // of the host and device systems. It should be #included in any
23
+ // code which uses adl to dispatch scan
24
+
25
+ #include <thrust/system/detail/sequential/scan.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/scan.h>
32
+ #include <thrust/system/cuda/detail/scan.h>
33
+ #include <thrust/system/omp/detail/scan.h>
34
+ #include <thrust/system/tbb/detail/scan.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_SCAN_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/scan.h>
38
+ #include __THRUST_HOST_SYSTEM_SCAN_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_SCAN_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_SCAN_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/scan.h>
42
+ #include __THRUST_DEVICE_SYSTEM_SCAN_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_SCAN_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/scan_by_key.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the scan_by_key.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch scan_by_key
24
+
25
+ #include <thrust/system/detail/sequential/scan_by_key.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/scan_by_key.h>
32
+ #include <thrust/system/cuda/detail/scan_by_key.h>
33
+ #include <thrust/system/omp/detail/scan_by_key.h>
34
+ #include <thrust/system/tbb/detail/scan_by_key.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_SCAN_BY_KEY_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/scan_by_key.h>
38
+ #include __THRUST_HOST_SYSTEM_SCAN_BY_KEY_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_SCAN_BY_KEY_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_SCAN_BY_KEY_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/scan_by_key.h>
42
+ #include __THRUST_DEVICE_SYSTEM_SCAN_BY_KEY_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_SCAN_BY_KEY_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/scatter.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the scatter.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch scatter
24
+
25
+ #include <thrust/system/detail/sequential/scatter.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/scatter.h>
32
+ #include <thrust/system/cuda/detail/scatter.h>
33
+ #include <thrust/system/omp/detail/scatter.h>
34
+ #include <thrust/system/tbb/detail/scatter.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_SCATTER_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/scatter.h>
38
+ #include __THRUST_HOST_SYSTEM_SCATTER_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_SCATTER_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_SCATTER_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/scatter.h>
42
+ #include __THRUST_DEVICE_SYSTEM_SCATTER_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_SCATTER_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/sequence.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the sequence.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch sequence
24
+
25
+ #include <thrust/system/detail/sequential/sequence.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/sequence.h>
32
+ #include <thrust/system/cuda/detail/sequence.h>
33
+ #include <thrust/system/omp/detail/sequence.h>
34
+ #include <thrust/system/tbb/detail/sequence.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_SEQUENCE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/sequence.h>
38
+ #include __THRUST_HOST_SYSTEM_SEQUENCE_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_SEQUENCE_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_SEQUENCE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/sequence.h>
42
+ #include __THRUST_DEVICE_SYSTEM_SEQUENCE_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_SEQUENCE_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/set_operations.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the set_operations.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch set_operations
24
+
25
+ #include <thrust/system/detail/sequential/set_operations.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/set_operations.h>
32
+ #include <thrust/system/cuda/detail/set_operations.h>
33
+ #include <thrust/system/omp/detail/set_operations.h>
34
+ #include <thrust/system/tbb/detail/set_operations.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_SET_OPERATIONS_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/set_operations.h>
38
+ #include __THRUST_HOST_SYSTEM_SET_OPERATIONS_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_SET_OPERATIONS_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_SET_OPERATIONS_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/set_operations.h>
42
+ #include __THRUST_DEVICE_SYSTEM_SET_OPERATIONS_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_SET_OPERATIONS_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/sort.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the sort.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch sort
24
+
25
+ #include <thrust/system/detail/sequential/sort.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/sort.h>
32
+ #include <thrust/system/cuda/detail/sort.h>
33
+ #include <thrust/system/omp/detail/sort.h>
34
+ #include <thrust/system/tbb/detail/sort.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_SORT_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/sort.h>
38
+ #include __THRUST_HOST_SYSTEM_SORT_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_SORT_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_SORT_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/sort.h>
42
+ #include __THRUST_DEVICE_SYSTEM_SORT_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_SORT_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/swap_ranges.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the swap_ranges.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch swap_ranges
24
+
25
+ #include <thrust/system/detail/sequential/swap_ranges.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/swap_ranges.h>
32
+ #include <thrust/system/cuda/detail/swap_ranges.h>
33
+ #include <thrust/system/omp/detail/swap_ranges.h>
34
+ #include <thrust/system/tbb/detail/swap_ranges.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_SWAP_RANGES_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/swap_ranges.h>
38
+ #include __THRUST_HOST_SYSTEM_SWAP_RANGES_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_SWAP_RANGES_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_SWAP_RANGES_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/swap_ranges.h>
42
+ #include __THRUST_DEVICE_SYSTEM_SWAP_RANGES_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_SWAP_RANGES_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/tabulate.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the tabulate.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch tabulate
24
+
25
+ #include <thrust/system/detail/sequential/tabulate.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/tabulate.h>
32
+ #include <thrust/system/cuda/detail/tabulate.h>
33
+ #include <thrust/system/omp/detail/tabulate.h>
34
+ #include <thrust/system/tbb/detail/tabulate.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_TABULATE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/tabulate.h>
38
+ #include __THRUST_HOST_SYSTEM_TABULATE_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_TABULATE_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_TABULATE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/tabulate.h>
42
+ #include __THRUST_DEVICE_SYSTEM_TABULATE_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_TABULATE_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/temporary_buffer.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the temporary_buffer.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch get_temporary_buffer or return_temporary_buffer
24
+
25
+ #include <thrust/system/detail/sequential/temporary_buffer.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/temporary_buffer.h>
32
+ #include <thrust/system/cuda/detail/temporary_buffer.h>
33
+ #include <thrust/system/omp/detail/temporary_buffer.h>
34
+ #include <thrust/system/tbb/detail/temporary_buffer.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_TEMPORARY_BUFFER_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/temporary_buffer.h>
38
+ #include __THRUST_HOST_SYSTEM_TEMPORARY_BUFFER_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_TEMPORARY_BUFFER_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_TEMPORARY_BUFFER_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/temporary_buffer.h>
42
+ #include __THRUST_DEVICE_SYSTEM_TEMPORARY_BUFFER_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_TEMPORARY_BUFFER_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/transform.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the transform.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch transform
24
+
25
+ #include <thrust/system/detail/sequential/transform.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/transform.h>
32
+ #include <thrust/system/cuda/detail/transform.h>
33
+ #include <thrust/system/omp/detail/transform.h>
34
+ #include <thrust/system/tbb/detail/transform.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_TRANSFORM_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/transform.h>
38
+ #include __THRUST_HOST_SYSTEM_TRANSFORM_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_TRANSFORM_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_TRANSFORM_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/transform.h>
42
+ #include __THRUST_DEVICE_SYSTEM_TRANSFORM_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_TRANSFORM_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/transform_reduce.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the transform_reduce.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch transform_reduce
24
+
25
+ #include <thrust/system/detail/sequential/transform_reduce.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/transform_reduce.h>
32
+ #include <thrust/system/cuda/detail/transform_reduce.h>
33
+ #include <thrust/system/omp/detail/transform_reduce.h>
34
+ #include <thrust/system/tbb/detail/transform_reduce.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_TRANSFORM_REDUCE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/transform_reduce.h>
38
+ #include __THRUST_HOST_SYSTEM_TRANSFORM_REDUCE_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_TRANSFORM_REDUCE_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_TRANSFORM_REDUCE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/transform_reduce.h>
42
+ #include __THRUST_DEVICE_SYSTEM_TRANSFORM_REDUCE_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_TRANSFORM_REDUCE_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/transform_scan.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the transform_scan.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch transform_scan
24
+
25
+ #include <thrust/system/detail/sequential/transform_scan.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/transform_scan.h>
32
+ #include <thrust/system/cuda/detail/transform_scan.h>
33
+ #include <thrust/system/omp/detail/transform_scan.h>
34
+ #include <thrust/system/tbb/detail/transform_scan.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_TRANSFORM_SCAN_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/transform_scan.h>
38
+ #include __THRUST_HOST_SYSTEM_TRANSFORM_SCAN_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_TRANSFORM_SCAN_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_TRANSFORM_SCAN_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/transform_scan.h>
42
+ #include __THRUST_DEVICE_SYSTEM_TRANSFORM_SCAN_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_TRANSFORM_SCAN_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/uninitialized_copy.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the uninitialized_copy.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch uninitialized_copy
24
+
25
+ #include <thrust/system/detail/sequential/uninitialized_copy.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/uninitialized_copy.h>
32
+ #include <thrust/system/cuda/detail/uninitialized_copy.h>
33
+ #include <thrust/system/omp/detail/uninitialized_copy.h>
34
+ #include <thrust/system/tbb/detail/uninitialized_copy.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_UNINITIALIZED_COPY_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/uninitialized_copy.h>
38
+ #include __THRUST_HOST_SYSTEM_UNINITIALIZED_COPY_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_UNINITIALIZED_COPY_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_UNINITIALIZED_COPY_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/uninitialized_copy.h>
42
+ #include __THRUST_DEVICE_SYSTEM_UNINITIALIZED_COPY_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_UNINITIALIZED_COPY_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/uninitialized_fill.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the uninitialized_fill.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch uninitialized_fill
24
+
25
+ #include <thrust/system/detail/sequential/uninitialized_fill.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/uninitialized_fill.h>
32
+ #include <thrust/system/cuda/detail/uninitialized_fill.h>
33
+ #include <thrust/system/omp/detail/uninitialized_fill.h>
34
+ #include <thrust/system/tbb/detail/uninitialized_fill.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_UNINITIALIZED_FILL_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/uninitialized_fill.h>
38
+ #include __THRUST_HOST_SYSTEM_UNINITIALIZED_FILL_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_UNINITIALIZED_FILL_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_UNINITIALIZED_FILL_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/uninitialized_fill.h>
42
+ #include __THRUST_DEVICE_SYSTEM_UNINITIALIZED_FILL_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_UNINITIALIZED_FILL_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/unique.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the unique.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch unique
24
+
25
+ #include <thrust/system/detail/sequential/unique.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/unique.h>
32
+ #include <thrust/system/cuda/detail/unique.h>
33
+ #include <thrust/system/omp/detail/unique.h>
34
+ #include <thrust/system/tbb/detail/unique.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_UNIQUE_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/unique.h>
38
+ #include __THRUST_HOST_SYSTEM_UNIQUE_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_UNIQUE_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_UNIQUE_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/unique.h>
42
+ #include __THRUST_DEVICE_SYSTEM_UNIQUE_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_UNIQUE_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/adl/unique_by_key.h ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a fill of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ // the purpose of this header is to #include the unique_by_key.h header
22
+ // of the sequential, host, and device systems. It should be #included in any
23
+ // code which uses adl to dispatch unique_by_key
24
+
25
+ #include <thrust/system/detail/sequential/unique_by_key.h>
26
+
27
+ // SCons can't see through the #defines below to figure out what this header
28
+ // includes, so we fake it out by specifying all possible files we might end up
29
+ // including inside an #if 0.
30
+ #if 0
31
+ #include <thrust/system/cpp/detail/unique_by_key.h>
32
+ #include <thrust/system/cuda/detail/unique_by_key.h>
33
+ #include <thrust/system/omp/detail/unique_by_key.h>
34
+ #include <thrust/system/tbb/detail/unique_by_key.h>
35
+ #endif
36
+
37
+ #define __THRUST_HOST_SYSTEM_UNIQUE_BY_KEY_HEADER <__THRUST_HOST_SYSTEM_ROOT/detail/unique_by_key.h>
38
+ #include __THRUST_HOST_SYSTEM_UNIQUE_BY_KEY_HEADER
39
+ #undef __THRUST_HOST_SYSTEM_UNIQUE_BY_KEY_HEADER
40
+
41
+ #define __THRUST_DEVICE_SYSTEM_UNIQUE_BY_KEY_HEADER <__THRUST_DEVICE_SYSTEM_ROOT/detail/unique_by_key.h>
42
+ #include __THRUST_DEVICE_SYSTEM_UNIQUE_BY_KEY_HEADER
43
+ #undef __THRUST_DEVICE_SYSTEM_UNIQUE_BY_KEY_HEADER
44
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/adjacent_difference.h ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+
18
+ /*! \file adjacent_difference.h
19
+ * \brief Generic implementation of adjacent_difference.
20
+ */
21
+
22
+ #pragma once
23
+
24
+ #include <thrust/detail/config.h>
25
+ #include <thrust/system/detail/generic/tag.h>
26
+
27
+ THRUST_NAMESPACE_BEGIN
28
+ namespace system
29
+ {
30
+ namespace detail
31
+ {
32
+ namespace generic
33
+ {
34
+
35
+
36
+ template<typename DerivedPolicy, typename InputIterator, typename OutputIterator>
37
+ __host__ __device__
38
+ OutputIterator adjacent_difference(thrust::execution_policy<DerivedPolicy> &exec,
39
+ InputIterator first, InputIterator last,
40
+ OutputIterator result);
41
+
42
+
43
+ template<typename DerivedPolicy, typename InputIterator, typename OutputIterator, typename BinaryFunction>
44
+ __host__ __device__
45
+ OutputIterator adjacent_difference(thrust::execution_policy<DerivedPolicy> &exec,
46
+ InputIterator first, InputIterator last,
47
+ OutputIterator result,
48
+ BinaryFunction binary_op);
49
+
50
+
51
+ } // end namespace generic
52
+ } // end namespace detail
53
+ } // end namespace system
54
+ THRUST_NAMESPACE_END
55
+
56
+ #include <thrust/system/detail/generic/adjacent_difference.inl>
57
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/adjacent_difference.inl ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/adjacent_difference.h>
21
+ #include <thrust/adjacent_difference.h>
22
+ #include <thrust/functional.h>
23
+ #include <thrust/iterator/iterator_traits.h>
24
+ #include <thrust/detail/temporary_array.h>
25
+ #include <thrust/transform.h>
26
+
27
+ THRUST_NAMESPACE_BEGIN
28
+ namespace system
29
+ {
30
+ namespace detail
31
+ {
32
+ namespace generic
33
+ {
34
+
35
+
36
+ template<typename DerivedPolicy, typename InputIterator, typename OutputIterator>
37
+ __host__ __device__
38
+ OutputIterator adjacent_difference(thrust::execution_policy<DerivedPolicy> &exec,
39
+ InputIterator first, InputIterator last,
40
+ OutputIterator result)
41
+ {
42
+ typedef typename thrust::iterator_traits<InputIterator>::value_type InputType;
43
+ thrust::minus<InputType> binary_op;
44
+
45
+ return thrust::adjacent_difference(exec, first, last, result, binary_op);
46
+ } // end adjacent_difference()
47
+
48
+
49
+ template<typename DerivedPolicy, typename InputIterator, typename OutputIterator, typename BinaryFunction>
50
+ __host__ __device__
51
+ OutputIterator adjacent_difference(thrust::execution_policy<DerivedPolicy> &exec,
52
+ InputIterator first, InputIterator last,
53
+ OutputIterator result,
54
+ BinaryFunction binary_op)
55
+ {
56
+ typedef typename thrust::iterator_traits<InputIterator>::value_type InputType;
57
+
58
+ if(first == last)
59
+ {
60
+ // empty range, nothing to do
61
+ return result;
62
+ }
63
+ else
64
+ {
65
+ // an in-place operation is requested, copy the input and call the entry point
66
+ // XXX a special-purpose kernel would be faster here since
67
+ // only block boundaries need to be copied
68
+ thrust::detail::temporary_array<InputType, DerivedPolicy> input_copy(exec, first, last);
69
+
70
+ *result = *first;
71
+ thrust::transform(exec, input_copy.begin() + 1, input_copy.end(), input_copy.begin(), result + 1, binary_op);
72
+ }
73
+
74
+ return result + (last - first);
75
+ }
76
+
77
+
78
+ } // end namespace generic
79
+ } // end namespace detail
80
+ } // end namespace system
81
+ THRUST_NAMESPACE_END
82
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/advance.h ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+
18
+ #pragma once
19
+
20
+ #include <thrust/detail/config.h>
21
+
22
+ THRUST_NAMESPACE_BEGIN
23
+ namespace system
24
+ {
25
+ namespace detail
26
+ {
27
+ namespace generic
28
+ {
29
+
30
+ template<typename InputIterator, typename Distance>
31
+ __host__ __device__
32
+ void advance(InputIterator& i, Distance n);
33
+
34
+ } // end namespace generic
35
+ } // end namespace detail
36
+ } // end namespace system
37
+ THRUST_NAMESPACE_END
38
+
39
+ #include <thrust/system/detail/generic/advance.inl>
40
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/advance.inl ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/advance.h>
21
+ #include <thrust/iterator/iterator_traits.h>
22
+
23
+ THRUST_NAMESPACE_BEGIN
24
+ namespace system
25
+ {
26
+ namespace detail
27
+ {
28
+ namespace generic
29
+ {
30
+ namespace detail
31
+ {
32
+
33
+ __thrust_exec_check_disable__
34
+ template<typename InputIterator, typename Distance>
35
+ __host__ __device__
36
+ void advance(InputIterator& i, Distance n, thrust::incrementable_traversal_tag)
37
+ {
38
+ while(n)
39
+ {
40
+ ++i;
41
+ --n;
42
+ } // end while
43
+ } // end advance()
44
+
45
+ __thrust_exec_check_disable__
46
+ template<typename InputIterator, typename Distance>
47
+ __host__ __device__
48
+ void advance(InputIterator& i, Distance n, thrust::random_access_traversal_tag)
49
+ {
50
+ i += n;
51
+ } // end advance()
52
+
53
+ } // end detail
54
+
55
+ template<typename InputIterator, typename Distance>
56
+ __host__ __device__
57
+ void advance(InputIterator& i, Distance n)
58
+ {
59
+ // dispatch on iterator traversal
60
+ thrust::system::detail::generic::detail::advance(i, n,
61
+ typename thrust::iterator_traversal<InputIterator>::type());
62
+ } // end advance()
63
+
64
+ } // end namespace detail
65
+ } // end namespace generic
66
+ } // end namespace system
67
+ THRUST_NAMESPACE_END
68
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/binary_search.h ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+
18
+ /*! \file binary_search.h
19
+ * \brief Generic implementations of binary search functions.
20
+ */
21
+
22
+ #pragma once
23
+
24
+ #include <thrust/detail/config.h>
25
+ #include <thrust/system/detail/generic/tag.h>
26
+
27
+ THRUST_NAMESPACE_BEGIN
28
+ namespace system
29
+ {
30
+ namespace detail
31
+ {
32
+ namespace generic
33
+ {
34
+
35
+
36
+ template <typename DerivedPolicy, typename ForwardIterator, typename T>
37
+ __host__ __device__
38
+ ForwardIterator lower_bound(thrust::execution_policy<DerivedPolicy> &exec,
39
+ ForwardIterator begin,
40
+ ForwardIterator end,
41
+ const T& value);
42
+
43
+ template <typename DerivedPolicy, typename ForwardIterator, typename T, typename StrictWeakOrdering>
44
+ __host__ __device__
45
+ ForwardIterator lower_bound(thrust::execution_policy<DerivedPolicy> &exec,
46
+ ForwardIterator begin,
47
+ ForwardIterator end,
48
+ const T& value,
49
+ StrictWeakOrdering comp);
50
+
51
+
52
+ template <typename DerivedPolicy, typename ForwardIterator, typename T>
53
+ __host__ __device__
54
+ ForwardIterator upper_bound(thrust::execution_policy<DerivedPolicy> &exec,
55
+ ForwardIterator begin,
56
+ ForwardIterator end,
57
+ const T& value);
58
+
59
+ template <typename DerivedPolicy, typename ForwardIterator, typename T, typename StrictWeakOrdering>
60
+ __host__ __device__
61
+ ForwardIterator upper_bound(thrust::execution_policy<DerivedPolicy> &exec,
62
+ ForwardIterator begin,
63
+ ForwardIterator end,
64
+ const T& value,
65
+ StrictWeakOrdering comp);
66
+
67
+
68
+ template <typename DerivedPolicy, typename ForwardIterator, typename T>
69
+ __host__ __device__
70
+ bool binary_search(thrust::execution_policy<DerivedPolicy> &exec,
71
+ ForwardIterator begin,
72
+ ForwardIterator end,
73
+ const T& value);
74
+
75
+ template <typename DerivedPolicy, typename ForwardIterator, typename T, typename StrictWeakOrdering>
76
+ __host__ __device__
77
+ bool binary_search(thrust::execution_policy<DerivedPolicy> &exec,
78
+ ForwardIterator begin,
79
+ ForwardIterator end,
80
+ const T& value,
81
+ StrictWeakOrdering comp);
82
+
83
+
84
+ template <typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator>
85
+ __host__ __device__
86
+ OutputIterator lower_bound(thrust::execution_policy<DerivedPolicy> &exec,
87
+ ForwardIterator begin,
88
+ ForwardIterator end,
89
+ InputIterator values_begin,
90
+ InputIterator values_end,
91
+ OutputIterator output);
92
+
93
+
94
+ template <typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator, typename StrictWeakOrdering>
95
+ __host__ __device__
96
+ OutputIterator lower_bound(thrust::execution_policy<DerivedPolicy> &exec,
97
+ ForwardIterator begin,
98
+ ForwardIterator end,
99
+ InputIterator values_begin,
100
+ InputIterator values_end,
101
+ OutputIterator output,
102
+ StrictWeakOrdering comp);
103
+
104
+
105
+ template <typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator>
106
+ __host__ __device__
107
+ OutputIterator upper_bound(thrust::execution_policy<DerivedPolicy> &exec,
108
+ ForwardIterator begin,
109
+ ForwardIterator end,
110
+ InputIterator values_begin,
111
+ InputIterator values_end,
112
+ OutputIterator output);
113
+
114
+
115
+ template <typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator, typename StrictWeakOrdering>
116
+ __host__ __device__
117
+ OutputIterator upper_bound(thrust::execution_policy<DerivedPolicy> &exec,
118
+ ForwardIterator begin,
119
+ ForwardIterator end,
120
+ InputIterator values_begin,
121
+ InputIterator values_end,
122
+ OutputIterator output,
123
+ StrictWeakOrdering comp);
124
+
125
+
126
+ template <typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator>
127
+ __host__ __device__
128
+ OutputIterator binary_search(thrust::execution_policy<DerivedPolicy> &exec,
129
+ ForwardIterator begin,
130
+ ForwardIterator end,
131
+ InputIterator values_begin,
132
+ InputIterator values_end,
133
+ OutputIterator output);
134
+
135
+
136
+ template <typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator, typename StrictWeakOrdering>
137
+ __host__ __device__
138
+ OutputIterator binary_search(thrust::execution_policy<DerivedPolicy> &exec,
139
+ ForwardIterator begin,
140
+ ForwardIterator end,
141
+ InputIterator values_begin,
142
+ InputIterator values_end,
143
+ OutputIterator output,
144
+ StrictWeakOrdering comp);
145
+
146
+
147
+ template <typename DerivedPolicy, typename ForwardIterator, typename LessThanComparable>
148
+ __host__ __device__
149
+ thrust::pair<ForwardIterator,ForwardIterator>
150
+ equal_range(thrust::execution_policy<DerivedPolicy> &exec,
151
+ ForwardIterator first,
152
+ ForwardIterator last,
153
+ const LessThanComparable &value);
154
+
155
+
156
+ template <typename DerivedPolicy, typename ForwardIterator, typename LessThanComparable, typename StrictWeakOrdering>
157
+ __host__ __device__
158
+ thrust::pair<ForwardIterator,ForwardIterator>
159
+ equal_range(thrust::execution_policy<DerivedPolicy> &exec,
160
+ ForwardIterator first,
161
+ ForwardIterator last,
162
+ const LessThanComparable &value,
163
+ StrictWeakOrdering comp);
164
+
165
+
166
+
167
+ } // end namespace generic
168
+ } // end namespace detail
169
+ } // end namespace system
170
+ THRUST_NAMESPACE_END
171
+
172
+ #include <thrust/system/detail/generic/binary_search.inl>
173
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/binary_search.inl ADDED
@@ -0,0 +1,396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/distance.h>
21
+ #include <thrust/binary_search.h>
22
+ #include <thrust/iterator/zip_iterator.h>
23
+ #include <thrust/iterator/iterator_traits.h>
24
+ #include <thrust/binary_search.h>
25
+
26
+ #include <thrust/for_each.h>
27
+ #include <thrust/detail/function.h>
28
+ #include <thrust/system/detail/generic/scalar/binary_search.h>
29
+ #include <thrust/system/detail/generic/select_system.h>
30
+
31
+ #include <thrust/detail/temporary_array.h>
32
+ #include <thrust/detail/type_traits.h>
33
+
34
+ THRUST_NAMESPACE_BEGIN
35
+ namespace detail
36
+ {
37
+
38
+
39
+ // XXX WAR circular #inclusion with this forward declaration
40
+ template<typename,typename> class temporary_array;
41
+
42
+
43
+ } // end detail
44
+ namespace system
45
+ {
46
+ namespace detail
47
+ {
48
+ namespace generic
49
+ {
50
+ namespace detail
51
+ {
52
+
53
+
54
+ // short names to avoid nvcc bug
55
+ struct lbf
56
+ {
57
+ template<typename RandomAccessIterator, typename T, typename StrictWeakOrdering>
58
+ __host__ __device__
59
+ typename thrust::iterator_traits<RandomAccessIterator>::difference_type
60
+ operator()(RandomAccessIterator begin, RandomAccessIterator end, const T& value, StrictWeakOrdering comp)
61
+ {
62
+ return thrust::system::detail::generic::scalar::lower_bound(begin, end, value, comp) - begin;
63
+ }
64
+ };
65
+
66
+
67
+ struct ubf
68
+ {
69
+ template<typename RandomAccessIterator, typename T, typename StrictWeakOrdering>
70
+ __host__ __device__
71
+ typename thrust::iterator_traits<RandomAccessIterator>::difference_type
72
+ operator()(RandomAccessIterator begin, RandomAccessIterator end, const T& value, StrictWeakOrdering comp)
73
+ {
74
+ return thrust::system::detail::generic::scalar::upper_bound(begin, end, value, comp) - begin;
75
+ }
76
+ };
77
+
78
+
79
+ struct bsf
80
+ {
81
+ template<typename RandomAccessIterator, typename T, typename StrictWeakOrdering>
82
+ __host__ __device__
83
+ bool operator()(RandomAccessIterator begin, RandomAccessIterator end, const T& value, StrictWeakOrdering comp)
84
+ {
85
+ RandomAccessIterator iter = thrust::system::detail::generic::scalar::lower_bound(begin, end, value, comp);
86
+
87
+ thrust::detail::wrapped_function<StrictWeakOrdering,bool> wrapped_comp(comp);
88
+
89
+ return iter != end && !wrapped_comp(value, *iter);
90
+ }
91
+ };
92
+
93
+
94
+ template<typename ForwardIterator, typename StrictWeakOrdering, typename BinarySearchFunction>
95
+ struct binary_search_functor
96
+ {
97
+ ForwardIterator begin;
98
+ ForwardIterator end;
99
+ StrictWeakOrdering comp;
100
+ BinarySearchFunction func;
101
+
102
+ __host__ __device__
103
+ binary_search_functor(ForwardIterator begin, ForwardIterator end, StrictWeakOrdering comp, BinarySearchFunction func)
104
+ : begin(begin), end(end), comp(comp), func(func) {}
105
+
106
+ template<typename Tuple>
107
+ __host__ __device__
108
+ void operator()(Tuple t)
109
+ {
110
+ thrust::get<1>(t) = func(begin, end, thrust::get<0>(t), comp);
111
+ }
112
+ }; // binary_search_functor
113
+
114
+
115
+ // Vector Implementation
116
+ template<typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator, typename StrictWeakOrdering, typename BinarySearchFunction>
117
+ __host__ __device__
118
+ OutputIterator binary_search(thrust::execution_policy<DerivedPolicy> &exec,
119
+ ForwardIterator begin,
120
+ ForwardIterator end,
121
+ InputIterator values_begin,
122
+ InputIterator values_end,
123
+ OutputIterator output,
124
+ StrictWeakOrdering comp,
125
+ BinarySearchFunction func)
126
+ {
127
+ thrust::for_each(exec,
128
+ thrust::make_zip_iterator(thrust::make_tuple(values_begin, output)),
129
+ thrust::make_zip_iterator(thrust::make_tuple(values_end, output + thrust::distance(values_begin, values_end))),
130
+ detail::binary_search_functor<ForwardIterator, StrictWeakOrdering, BinarySearchFunction>(begin, end, comp, func));
131
+
132
+ return output + thrust::distance(values_begin, values_end);
133
+ }
134
+
135
+
136
+
137
+ // Scalar Implementation
138
+ template<typename OutputType, typename DerivedPolicy, typename ForwardIterator, typename T, typename StrictWeakOrdering, typename BinarySearchFunction>
139
+ __host__ __device__
140
+ OutputType binary_search(thrust::execution_policy<DerivedPolicy> &exec,
141
+ ForwardIterator begin,
142
+ ForwardIterator end,
143
+ const T& value,
144
+ StrictWeakOrdering comp,
145
+ BinarySearchFunction func)
146
+ {
147
+ // use the vectorized path to implement the scalar version
148
+
149
+ // allocate device buffers for value and output
150
+ thrust::detail::temporary_array<T,DerivedPolicy> d_value(exec,1);
151
+ thrust::detail::temporary_array<OutputType,DerivedPolicy> d_output(exec,1);
152
+
153
+ { // copy value to device
154
+ typedef typename thrust::iterator_system<const T*>::type value_in_system_t;
155
+ value_in_system_t value_in_system;
156
+ using thrust::system::detail::generic::select_system;
157
+ thrust::copy_n(select_system(thrust::detail::derived_cast(thrust::detail::strip_const(value_in_system)),
158
+ thrust::detail::derived_cast(thrust::detail::strip_const(exec))),
159
+ &value, 1, d_value.begin());
160
+ }
161
+
162
+ // perform the query
163
+ thrust::system::detail::generic::detail::binary_search(exec, begin, end, d_value.begin(), d_value.end(), d_output.begin(), comp, func);
164
+
165
+ OutputType output;
166
+ { // copy result to host and return
167
+ typedef typename thrust::iterator_system<OutputType*>::type result_out_system_t;
168
+ result_out_system_t result_out_system;
169
+ using thrust::system::detail::generic::select_system;
170
+ thrust::copy_n(select_system(thrust::detail::derived_cast(thrust::detail::strip_const(exec)),
171
+ thrust::detail::derived_cast(thrust::detail::strip_const(result_out_system))),
172
+ d_output.begin(), 1, &output);
173
+ }
174
+
175
+ return output;
176
+ }
177
+
178
+
179
+ // this functor differs from thrust::less<T>
180
+ // because it allows the types of lhs & rhs to differ
181
+ // which is required by the binary search functions
182
+ // XXX use C++14 thrust::less<> when it's ready
183
+ struct binary_search_less
184
+ {
185
+ template<typename T1, typename T2>
186
+ __host__ __device__
187
+ bool operator()(const T1& lhs, const T2& rhs) const
188
+ {
189
+ return lhs < rhs;
190
+ }
191
+ };
192
+
193
+
194
+ } // end namespace detail
195
+
196
+
197
+ //////////////////////
198
+ // Scalar Functions //
199
+ //////////////////////
200
+
201
+
202
+ template<typename DerivedPolicy, typename ForwardIterator, typename T>
203
+ __host__ __device__
204
+ ForwardIterator lower_bound(thrust::execution_policy<DerivedPolicy> &exec,
205
+ ForwardIterator begin,
206
+ ForwardIterator end,
207
+ const T& value)
208
+ {
209
+ namespace p = thrust::placeholders;
210
+ return thrust::lower_bound(exec, begin, end, value, detail::binary_search_less());
211
+ }
212
+
213
+ template<typename DerivedPolicy, typename ForwardIterator, typename T, typename StrictWeakOrdering>
214
+ __host__ __device__
215
+ ForwardIterator lower_bound(thrust::execution_policy<DerivedPolicy> &exec,
216
+ ForwardIterator begin,
217
+ ForwardIterator end,
218
+ const T& value,
219
+ StrictWeakOrdering comp)
220
+ {
221
+ typedef typename thrust::iterator_traits<ForwardIterator>::difference_type difference_type;
222
+
223
+ return begin + detail::binary_search<difference_type>(exec, begin, end, value, comp, detail::lbf());
224
+ }
225
+
226
+
227
+ template<typename DerivedPolicy, typename ForwardIterator, typename T>
228
+ __host__ __device__
229
+ ForwardIterator upper_bound(thrust::execution_policy<DerivedPolicy> &exec,
230
+ ForwardIterator begin,
231
+ ForwardIterator end,
232
+ const T& value)
233
+ {
234
+ namespace p = thrust::placeholders;
235
+ return thrust::upper_bound(exec, begin, end, value, detail::binary_search_less());
236
+ }
237
+
238
+
239
+ template<typename DerivedPolicy, typename ForwardIterator, typename T, typename StrictWeakOrdering>
240
+ __host__ __device__
241
+ ForwardIterator upper_bound(thrust::execution_policy<DerivedPolicy> &exec,
242
+ ForwardIterator begin,
243
+ ForwardIterator end,
244
+ const T& value,
245
+ StrictWeakOrdering comp)
246
+ {
247
+ typedef typename thrust::iterator_traits<ForwardIterator>::difference_type difference_type;
248
+
249
+ return begin + detail::binary_search<difference_type>(exec, begin, end, value, comp, detail::ubf());
250
+ }
251
+
252
+
253
+ template<typename DerivedPolicy, typename ForwardIterator, typename T>
254
+ __host__ __device__
255
+ bool binary_search(thrust::execution_policy<DerivedPolicy> &exec,
256
+ ForwardIterator begin,
257
+ ForwardIterator end,
258
+ const T& value)
259
+ {
260
+ return thrust::binary_search(exec, begin, end, value, detail::binary_search_less());
261
+ }
262
+
263
+
264
+ template<typename DerivedPolicy, typename ForwardIterator, typename T, typename StrictWeakOrdering>
265
+ __host__ __device__
266
+ bool binary_search(thrust::execution_policy<DerivedPolicy> &exec,
267
+ ForwardIterator begin,
268
+ ForwardIterator end,
269
+ const T& value,
270
+ StrictWeakOrdering comp)
271
+ {
272
+ return detail::binary_search<bool>(exec, begin, end, value, comp, detail::bsf());
273
+ }
274
+
275
+
276
+ //////////////////////
277
+ // Vector Functions //
278
+ //////////////////////
279
+
280
+
281
+ template<typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator>
282
+ __host__ __device__
283
+ OutputIterator lower_bound(thrust::execution_policy<DerivedPolicy> &exec,
284
+ ForwardIterator begin,
285
+ ForwardIterator end,
286
+ InputIterator values_begin,
287
+ InputIterator values_end,
288
+ OutputIterator output)
289
+ {
290
+ namespace p = thrust::placeholders;
291
+ return thrust::lower_bound(exec, begin, end, values_begin, values_end, output, detail::binary_search_less());
292
+ }
293
+
294
+
295
+ template<typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator, typename StrictWeakOrdering>
296
+ __host__ __device__
297
+ OutputIterator lower_bound(thrust::execution_policy<DerivedPolicy> &exec,
298
+ ForwardIterator begin,
299
+ ForwardIterator end,
300
+ InputIterator values_begin,
301
+ InputIterator values_end,
302
+ OutputIterator output,
303
+ StrictWeakOrdering comp)
304
+ {
305
+ return detail::binary_search(exec, begin, end, values_begin, values_end, output, comp, detail::lbf());
306
+ }
307
+
308
+
309
+ template<typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator>
310
+ __host__ __device__
311
+ OutputIterator upper_bound(thrust::execution_policy<DerivedPolicy> &exec,
312
+ ForwardIterator begin,
313
+ ForwardIterator end,
314
+ InputIterator values_begin,
315
+ InputIterator values_end,
316
+ OutputIterator output)
317
+ {
318
+ namespace p = thrust::placeholders;
319
+ return thrust::upper_bound(exec, begin, end, values_begin, values_end, output, detail::binary_search_less());
320
+ }
321
+
322
+
323
+ template<typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator, typename StrictWeakOrdering>
324
+ __host__ __device__
325
+ OutputIterator upper_bound(thrust::execution_policy<DerivedPolicy> &exec,
326
+ ForwardIterator begin,
327
+ ForwardIterator end,
328
+ InputIterator values_begin,
329
+ InputIterator values_end,
330
+ OutputIterator output,
331
+ StrictWeakOrdering comp)
332
+ {
333
+ return detail::binary_search(exec, begin, end, values_begin, values_end, output, comp, detail::ubf());
334
+ }
335
+
336
+
337
+ template<typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator>
338
+ __host__ __device__
339
+ OutputIterator binary_search(thrust::execution_policy<DerivedPolicy> &exec,
340
+ ForwardIterator begin,
341
+ ForwardIterator end,
342
+ InputIterator values_begin,
343
+ InputIterator values_end,
344
+ OutputIterator output)
345
+ {
346
+ namespace p = thrust::placeholders;
347
+ return thrust::binary_search(exec, begin, end, values_begin, values_end, output, detail::binary_search_less());
348
+ }
349
+
350
+
351
+ template<typename DerivedPolicy, typename ForwardIterator, typename InputIterator, typename OutputIterator, typename StrictWeakOrdering>
352
+ __host__ __device__
353
+ OutputIterator binary_search(thrust::execution_policy<DerivedPolicy> &exec,
354
+ ForwardIterator begin,
355
+ ForwardIterator end,
356
+ InputIterator values_begin,
357
+ InputIterator values_end,
358
+ OutputIterator output,
359
+ StrictWeakOrdering comp)
360
+ {
361
+ return detail::binary_search(exec, begin, end, values_begin, values_end, output, comp, detail::bsf());
362
+ }
363
+
364
+
365
+ template<typename DerivedPolicy, typename ForwardIterator, typename LessThanComparable>
366
+ __host__ __device__
367
+ thrust::pair<ForwardIterator,ForwardIterator>
368
+ equal_range(thrust::execution_policy<DerivedPolicy> &exec,
369
+ ForwardIterator first,
370
+ ForwardIterator last,
371
+ const LessThanComparable &value)
372
+ {
373
+ return thrust::equal_range(exec, first, last, value, detail::binary_search_less());
374
+ }
375
+
376
+
377
+ template<typename DerivedPolicy, typename ForwardIterator, typename T, typename StrictWeakOrdering>
378
+ __host__ __device__
379
+ thrust::pair<ForwardIterator,ForwardIterator>
380
+ equal_range(thrust::execution_policy<DerivedPolicy> &exec,
381
+ ForwardIterator first,
382
+ ForwardIterator last,
383
+ const T &value,
384
+ StrictWeakOrdering comp)
385
+ {
386
+ ForwardIterator lb = thrust::lower_bound(exec, first, last, value, comp);
387
+ ForwardIterator ub = thrust::upper_bound(exec, first, last, value, comp);
388
+ return thrust::make_pair(lb, ub);
389
+ }
390
+
391
+
392
+ } // end namespace generic
393
+ } // end namespace detail
394
+ } // end namespace system
395
+ THRUST_NAMESPACE_END
396
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/copy.h ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/tag.h>
21
+
22
+ THRUST_NAMESPACE_BEGIN
23
+ namespace system
24
+ {
25
+ namespace detail
26
+ {
27
+ namespace generic
28
+ {
29
+
30
+
31
+ template<typename DerivedPolicy,
32
+ typename InputIterator,
33
+ typename OutputIterator>
34
+ __host__ __device__
35
+ OutputIterator copy(thrust::execution_policy<DerivedPolicy> &exec,
36
+ InputIterator first,
37
+ InputIterator last,
38
+ OutputIterator result);
39
+
40
+
41
+ template<typename DerivedPolicy,
42
+ typename InputIterator,
43
+ typename Size,
44
+ typename OutputIterator>
45
+ __host__ __device__
46
+ OutputIterator copy_n(thrust::execution_policy<DerivedPolicy> &exec,
47
+ InputIterator first,
48
+ Size n,
49
+ OutputIterator result);
50
+
51
+
52
+ } // end generic
53
+ } // end detail
54
+ } // end system
55
+ THRUST_NAMESPACE_END
56
+
57
+ #include <thrust/system/detail/generic/copy.inl>
58
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/copy.inl ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/copy.h>
21
+ #include <thrust/functional.h>
22
+ #include <thrust/detail/internal_functional.h>
23
+ #include <thrust/transform.h>
24
+ #include <thrust/for_each.h>
25
+ #include <thrust/tuple.h>
26
+ #include <thrust/iterator/zip_iterator.h>
27
+ #include <thrust/iterator/detail/minimum_system.h>
28
+
29
+ THRUST_NAMESPACE_BEGIN
30
+ namespace system
31
+ {
32
+ namespace detail
33
+ {
34
+ namespace generic
35
+ {
36
+
37
+
38
+ template<typename DerivedPolicy,
39
+ typename InputIterator,
40
+ typename OutputIterator>
41
+ __host__ __device__
42
+ OutputIterator copy(thrust::execution_policy<DerivedPolicy> &exec,
43
+ InputIterator first,
44
+ InputIterator last,
45
+ OutputIterator result)
46
+ {
47
+ typedef typename thrust::iterator_value<InputIterator>::type T;
48
+ return thrust::transform(exec, first, last, result, thrust::identity<T>());
49
+ } // end copy()
50
+
51
+
52
+ template<typename DerivedPolicy,
53
+ typename InputIterator,
54
+ typename Size,
55
+ typename OutputIterator>
56
+ __host__ __device__
57
+ OutputIterator copy_n(thrust::execution_policy<DerivedPolicy> &exec,
58
+ InputIterator first,
59
+ Size n,
60
+ OutputIterator result)
61
+ {
62
+ typedef typename thrust::iterator_value<InputIterator>::type value_type;
63
+ typedef thrust::identity<value_type> xfrm_type;
64
+
65
+ typedef thrust::detail::unary_transform_functor<xfrm_type> functor_type;
66
+
67
+ typedef thrust::tuple<InputIterator,OutputIterator> iterator_tuple;
68
+ typedef thrust::zip_iterator<iterator_tuple> zip_iter;
69
+
70
+ zip_iter zipped = thrust::make_zip_iterator(thrust::make_tuple(first,result));
71
+
72
+ return thrust::get<1>(thrust::for_each_n(exec, zipped, n, functor_type(xfrm_type())).get_iterator_tuple());
73
+ } // end copy_n()
74
+
75
+
76
+ } // end generic
77
+ } // end detail
78
+ } // end system
79
+ THRUST_NAMESPACE_END
80
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/copy_if.h ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/tag.h>
21
+
22
+ THRUST_NAMESPACE_BEGIN
23
+ namespace system
24
+ {
25
+ namespace detail
26
+ {
27
+ namespace generic
28
+ {
29
+
30
+
31
+ template<typename DerivedPolicy,
32
+ typename InputIterator,
33
+ typename OutputIterator,
34
+ typename Predicate>
35
+ __host__ __device__
36
+ OutputIterator copy_if(thrust::execution_policy<DerivedPolicy> &exec,
37
+ InputIterator first,
38
+ InputIterator last,
39
+ OutputIterator result,
40
+ Predicate pred);
41
+
42
+
43
+ template<typename DerivedPolicy,
44
+ typename InputIterator1,
45
+ typename InputIterator2,
46
+ typename OutputIterator,
47
+ typename Predicate>
48
+ __host__ __device__
49
+ OutputIterator copy_if(thrust::execution_policy<DerivedPolicy> &exec,
50
+ InputIterator1 first,
51
+ InputIterator1 last,
52
+ InputIterator2 stencil,
53
+ OutputIterator result,
54
+ Predicate pred);
55
+
56
+
57
+ } // end namespace generic
58
+ } // end namespace detail
59
+ } // end namespace system
60
+ THRUST_NAMESPACE_END
61
+
62
+ #include <thrust/system/detail/generic/copy_if.inl>
63
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/copy_if.inl ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/copy_if.h>
21
+ #include <thrust/detail/copy_if.h>
22
+ #include <thrust/iterator/iterator_traits.h>
23
+ #include <thrust/iterator/detail/minimum_system.h>
24
+ #include <thrust/functional.h>
25
+ #include <thrust/distance.h>
26
+ #include <thrust/transform.h>
27
+ #include <thrust/detail/internal_functional.h>
28
+ #include <thrust/detail/integer_traits.h>
29
+ #include <thrust/detail/temporary_array.h>
30
+ #include <thrust/detail/type_traits.h>
31
+ #include <thrust/scan.h>
32
+ #include <thrust/scatter.h>
33
+ #include <limits>
34
+
35
+ THRUST_NAMESPACE_BEGIN
36
+ namespace system
37
+ {
38
+ namespace detail
39
+ {
40
+ namespace generic
41
+ {
42
+ namespace detail
43
+ {
44
+
45
+
46
+ template<typename IndexType,
47
+ typename DerivedPolicy,
48
+ typename InputIterator1,
49
+ typename InputIterator2,
50
+ typename OutputIterator,
51
+ typename Predicate>
52
+ __host__ __device__
53
+ OutputIterator copy_if(thrust::execution_policy<DerivedPolicy> &exec,
54
+ InputIterator1 first,
55
+ InputIterator1 last,
56
+ InputIterator2 stencil,
57
+ OutputIterator result,
58
+ Predicate pred)
59
+ {
60
+ THRUST_DISABLE_MSVC_POSSIBLE_LOSS_OF_DATA_WARNING(IndexType n = thrust::distance(first, last));
61
+
62
+ // compute {0,1} predicates
63
+ thrust::detail::temporary_array<IndexType, DerivedPolicy> predicates(exec, n);
64
+ thrust::transform(exec,
65
+ stencil,
66
+ stencil + n,
67
+ predicates.begin(),
68
+ thrust::detail::predicate_to_integral<Predicate,IndexType>(pred));
69
+
70
+ // scan {0,1} predicates
71
+ thrust::detail::temporary_array<IndexType, DerivedPolicy> scatter_indices(exec, n);
72
+ thrust::exclusive_scan(exec,
73
+ predicates.begin(),
74
+ predicates.end(),
75
+ scatter_indices.begin(),
76
+ static_cast<IndexType>(0),
77
+ thrust::plus<IndexType>());
78
+
79
+ // scatter the true elements
80
+ thrust::scatter_if(exec,
81
+ first,
82
+ last,
83
+ scatter_indices.begin(),
84
+ predicates.begin(),
85
+ result,
86
+ thrust::identity<IndexType>());
87
+
88
+ // find the end of the new sequence
89
+ IndexType output_size = scatter_indices[n - 1] + predicates[n - 1];
90
+
91
+ return result + output_size;
92
+ }
93
+
94
+
95
+ } // end namespace detail
96
+
97
+
98
+ template<typename DerivedPolicy,
99
+ typename InputIterator,
100
+ typename OutputIterator,
101
+ typename Predicate>
102
+ __host__ __device__
103
+ OutputIterator copy_if(thrust::execution_policy<DerivedPolicy> &exec,
104
+ InputIterator first,
105
+ InputIterator last,
106
+ OutputIterator result,
107
+ Predicate pred)
108
+ {
109
+ // XXX it's potentially expensive to send [first,last) twice
110
+ // we should probably specialize this case for POD
111
+ // since we can safely keep the input in a temporary instead
112
+ // of doing two loads
113
+ return thrust::copy_if(exec, first, last, first, result, pred);
114
+ } // end copy_if()
115
+
116
+
117
+ template<typename DerivedPolicy,
118
+ typename InputIterator1,
119
+ typename InputIterator2,
120
+ typename OutputIterator,
121
+ typename Predicate>
122
+ __host__ __device__
123
+ OutputIterator copy_if(thrust::execution_policy<DerivedPolicy> &exec,
124
+ InputIterator1 first,
125
+ InputIterator1 last,
126
+ InputIterator2 stencil,
127
+ OutputIterator result,
128
+ Predicate pred)
129
+ {
130
+ typedef typename thrust::iterator_traits<InputIterator1>::difference_type difference_type;
131
+
132
+ // empty sequence
133
+ if(first == last)
134
+ return result;
135
+
136
+ difference_type n = thrust::distance(first, last);
137
+
138
+ // create an unsigned version of n (we know n is positive from the comparison above)
139
+ // to avoid a warning in the compare below
140
+ typename thrust::detail::make_unsigned<difference_type>::type unsigned_n(n);
141
+
142
+ // use 32-bit indices when possible (almost always)
143
+ if(sizeof(difference_type) > sizeof(unsigned int) && unsigned_n > thrust::detail::integer_traits<unsigned int>::const_max)
144
+ {
145
+ result = detail::copy_if<difference_type>(exec, first, last, stencil, result, pred);
146
+ } // end if
147
+ else
148
+ {
149
+ result = detail::copy_if<unsigned int>(exec, first, last, stencil, result, pred);
150
+ } // end else
151
+
152
+ return result;
153
+ } // end copy_if()
154
+
155
+
156
+ } // end namespace generic
157
+ } // end namespace detail
158
+ } // end namespace system
159
+ THRUST_NAMESPACE_END
160
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/count.h ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+
18
+ #pragma once
19
+
20
+ #include <thrust/detail/config.h>
21
+ #include <thrust/system/detail/generic/tag.h>
22
+
23
+ THRUST_NAMESPACE_BEGIN
24
+ namespace system
25
+ {
26
+ namespace detail
27
+ {
28
+ namespace generic
29
+ {
30
+
31
+
32
+ template <typename DerivedPolicy, typename InputIterator, typename EqualityComparable>
33
+ __host__ __device__
34
+ typename thrust::iterator_traits<InputIterator>::difference_type
35
+ count(thrust::execution_policy<DerivedPolicy> &exec, InputIterator first, InputIterator last, const EqualityComparable& value);
36
+
37
+
38
+ template <typename DerivedPolicy, typename InputIterator, typename Predicate>
39
+ __host__ __device__
40
+ typename thrust::iterator_traits<InputIterator>::difference_type
41
+ count_if(thrust::execution_policy<DerivedPolicy> &exec, InputIterator first, InputIterator last, Predicate pred);
42
+
43
+
44
+ } // end namespace generic
45
+ } // end namespace detail
46
+ } // end namespace system
47
+ THRUST_NAMESPACE_END
48
+
49
+ #include <thrust/system/detail/generic/count.inl>
50
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/count.inl ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/count.h>
21
+ #include <thrust/transform_reduce.h>
22
+ #include <thrust/detail/internal_functional.h>
23
+
24
+ THRUST_NAMESPACE_BEGIN
25
+ namespace system
26
+ {
27
+ namespace detail
28
+ {
29
+ namespace generic
30
+ {
31
+
32
+
33
+ template <typename InputType, typename Predicate, typename CountType>
34
+ struct count_if_transform
35
+ {
36
+ __host__ __device__
37
+ count_if_transform(Predicate _pred) : pred(_pred){}
38
+
39
+ __thrust_exec_check_disable__
40
+ __host__ __device__
41
+ CountType operator()(const InputType& val)
42
+ {
43
+ if(pred(val))
44
+ return 1;
45
+ else
46
+ return 0;
47
+ } // end operator()
48
+
49
+ Predicate pred;
50
+ }; // end count_if_transform
51
+
52
+
53
+ template <typename DerivedPolicy, typename InputIterator, typename EqualityComparable>
54
+ __host__ __device__
55
+ typename thrust::iterator_traits<InputIterator>::difference_type
56
+ count(thrust::execution_policy<DerivedPolicy> &exec, InputIterator first, InputIterator last, const EqualityComparable& value)
57
+ {
58
+ using thrust::placeholders::_1;
59
+
60
+ return thrust::count_if(exec, first, last, _1 == value);
61
+ } // end count()
62
+
63
+
64
+ template <typename DerivedPolicy, typename InputIterator, typename Predicate>
65
+ __host__ __device__
66
+ typename thrust::iterator_traits<InputIterator>::difference_type
67
+ count_if(thrust::execution_policy<DerivedPolicy> &exec, InputIterator first, InputIterator last, Predicate pred)
68
+ {
69
+ typedef typename thrust::iterator_traits<InputIterator>::value_type InputType;
70
+ typedef typename thrust::iterator_traits<InputIterator>::difference_type CountType;
71
+
72
+ thrust::system::detail::generic::count_if_transform<InputType, Predicate, CountType> unary_op(pred);
73
+ thrust::plus<CountType> binary_op;
74
+ return thrust::transform_reduce(exec, first, last, unary_op, CountType(0), binary_op);
75
+ } // end count_if()
76
+
77
+
78
+ } // end generic
79
+ } // end detail
80
+ } // end system
81
+ THRUST_NAMESPACE_END
82
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/distance.h ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+
18
+ #pragma once
19
+
20
+ #include <thrust/detail/config.h>
21
+ #include <thrust/iterator/iterator_traits.h>
22
+
23
+ THRUST_NAMESPACE_BEGIN
24
+ namespace system
25
+ {
26
+ namespace detail
27
+ {
28
+ namespace generic
29
+ {
30
+
31
+ template<typename InputIterator>
32
+ inline __host__ __device__
33
+ typename thrust::iterator_traits<InputIterator>::difference_type
34
+ distance(InputIterator first, InputIterator last);
35
+
36
+ } // end namespace generic
37
+ } // end namespace detail
38
+ } // end namespace system
39
+ THRUST_NAMESPACE_END
40
+
41
+ #include <thrust/system/detail/generic/distance.inl>
42
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/distance.inl ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/distance.h>
21
+ #include <thrust/iterator/iterator_traits.h>
22
+
23
+ THRUST_NAMESPACE_BEGIN
24
+ namespace system
25
+ {
26
+ namespace detail
27
+ {
28
+ namespace generic
29
+ {
30
+ namespace detail
31
+ {
32
+
33
+
34
+ __thrust_exec_check_disable__
35
+ template<typename InputIterator>
36
+ inline __host__ __device__
37
+ typename thrust::iterator_traits<InputIterator>::difference_type
38
+ distance(InputIterator first, InputIterator last, thrust::incrementable_traversal_tag)
39
+ {
40
+ typename thrust::iterator_traits<InputIterator>::difference_type result(0);
41
+
42
+ while(first != last)
43
+ {
44
+ ++first;
45
+ ++result;
46
+ } // end while
47
+
48
+ return result;
49
+ } // end advance()
50
+
51
+
52
+ __thrust_exec_check_disable__
53
+ template<typename InputIterator>
54
+ inline __host__ __device__
55
+ typename thrust::iterator_traits<InputIterator>::difference_type
56
+ distance(InputIterator first, InputIterator last, thrust::random_access_traversal_tag)
57
+ {
58
+ return last - first;
59
+ } // end distance()
60
+
61
+
62
+ } // end detail
63
+
64
+ __thrust_exec_check_disable__
65
+ template<typename InputIterator>
66
+ inline __host__ __device__
67
+ typename thrust::iterator_traits<InputIterator>::difference_type
68
+ distance(InputIterator first, InputIterator last)
69
+ {
70
+ // dispatch on iterator traversal
71
+ return thrust::system::detail::generic::detail::distance(first, last,
72
+ typename thrust::iterator_traversal<InputIterator>::type());
73
+ } // end advance()
74
+
75
+
76
+ } // end namespace generic
77
+ } // end namespace detail
78
+ } // end namespace system
79
+ THRUST_NAMESPACE_END
80
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/equal.h ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/tag.h>
21
+
22
+ THRUST_NAMESPACE_BEGIN
23
+ namespace system
24
+ {
25
+ namespace detail
26
+ {
27
+ namespace generic
28
+ {
29
+
30
+
31
+ template<typename DerivedPolicy, typename InputIterator1, typename InputIterator2>
32
+ __host__ __device__
33
+ bool equal(thrust::execution_policy<DerivedPolicy> &exec, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2);
34
+
35
+
36
+ template<typename DerivedPolicy, typename InputIterator1, typename InputIterator2, typename BinaryPredicate>
37
+ __host__ __device__
38
+ bool equal(thrust::execution_policy<DerivedPolicy> &exec, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, BinaryPredicate binary_pred);
39
+
40
+
41
+ } // end namespace generic
42
+ } // end namespace detail
43
+ } // end namespace system
44
+ THRUST_NAMESPACE_END
45
+
46
+ #include <thrust/system/detail/generic/equal.inl>
47
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/equal.inl ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/system/detail/generic/equal.h>
21
+ #include <thrust/iterator/iterator_traits.h>
22
+ #include <thrust/detail/internal_functional.h>
23
+ #include <thrust/mismatch.h>
24
+
25
+ THRUST_NAMESPACE_BEGIN
26
+ namespace system
27
+ {
28
+ namespace detail
29
+ {
30
+ namespace generic
31
+ {
32
+
33
+
34
+ template<typename DerivedPolicy, typename InputIterator1, typename InputIterator2>
35
+ __host__ __device__
36
+ bool equal(thrust::execution_policy<DerivedPolicy> &exec, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2)
37
+ {
38
+ typedef typename thrust::iterator_traits<InputIterator1>::value_type InputType1;
39
+
40
+ return thrust::equal(exec, first1, last1, first2, thrust::detail::equal_to<InputType1>());
41
+ }
42
+
43
+
44
+ // the == below could be a __host__ function in the case of std::vector::iterator::operator==
45
+ // we make this exception for equal and use __thrust_exec_check_disable__ because it is used in vector's implementation
46
+ __thrust_exec_check_disable__
47
+ template<typename DerivedPolicy, typename InputIterator1, typename InputIterator2, typename BinaryPredicate>
48
+ __host__ __device__
49
+ bool equal(thrust::execution_policy<DerivedPolicy> &exec, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, BinaryPredicate binary_pred)
50
+ {
51
+ return thrust::mismatch(exec, first1, last1, first2, binary_pred).first == last1;
52
+ }
53
+
54
+
55
+ } // end generic
56
+ } // end detail
57
+ } // end system
58
+ THRUST_NAMESPACE_END
59
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/extrema.h ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+
18
+ /*! \file extrema.h
19
+ * \brief Generic device implementations of extrema functions.
20
+ */
21
+
22
+ #pragma once
23
+
24
+ #include <thrust/detail/config.h>
25
+ #include <thrust/pair.h>
26
+ #include <thrust/system/detail/generic/tag.h>
27
+
28
+ THRUST_NAMESPACE_BEGIN
29
+ namespace system
30
+ {
31
+ namespace detail
32
+ {
33
+ namespace generic
34
+ {
35
+
36
+
37
+ template <typename DerivedPolicy, typename ForwardIterator>
38
+ __host__ __device__
39
+ ForwardIterator max_element(thrust::execution_policy<DerivedPolicy> &exec,
40
+ ForwardIterator first,
41
+ ForwardIterator last);
42
+
43
+
44
+ template <typename DerivedPolicy, typename ForwardIterator, typename BinaryPredicate>
45
+ __host__ __device__
46
+ ForwardIterator max_element(thrust::execution_policy<DerivedPolicy> &exec,
47
+ ForwardIterator first,
48
+ ForwardIterator last,
49
+ BinaryPredicate comp);
50
+
51
+
52
+ template <typename DerivedPolicy, typename ForwardIterator>
53
+ __host__ __device__
54
+ ForwardIterator min_element(thrust::execution_policy<DerivedPolicy> &exec,
55
+ ForwardIterator first,
56
+ ForwardIterator last);
57
+
58
+
59
+ template <typename DerivedPolicy, typename ForwardIterator, typename BinaryPredicate>
60
+ __host__ __device__
61
+ ForwardIterator min_element(thrust::execution_policy<DerivedPolicy> &exec,
62
+ ForwardIterator first,
63
+ ForwardIterator last,
64
+ BinaryPredicate comp);
65
+
66
+
67
+ template <typename DerivedPolicy, typename ForwardIterator>
68
+ __host__ __device__
69
+ thrust::pair<ForwardIterator,ForwardIterator> minmax_element(thrust::execution_policy<DerivedPolicy> &exec,
70
+ ForwardIterator first,
71
+ ForwardIterator last);
72
+
73
+
74
+ template <typename DerivedPolicy, typename ForwardIterator, typename BinaryPredicate>
75
+ __host__ __device__
76
+ thrust::pair<ForwardIterator,ForwardIterator> minmax_element(thrust::execution_policy<DerivedPolicy> &exec,
77
+ ForwardIterator first,
78
+ ForwardIterator last,
79
+ BinaryPredicate comp);
80
+
81
+
82
+ } // end namespace generic
83
+ } // end namespace detail
84
+ } // end namespace system
85
+ THRUST_NAMESPACE_END
86
+
87
+ #include <thrust/system/detail/generic/extrema.inl>
88
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/extrema.inl ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+
18
+ /*! \file distance.h
19
+ * \brief Device implementations for distance.
20
+ */
21
+
22
+ #pragma once
23
+
24
+ #include <thrust/detail/config.h>
25
+ #include <thrust/detail/get_iterator_value.h>
26
+ #include <thrust/extrema.h>
27
+ #include <thrust/functional.h>
28
+ #include <thrust/pair.h>
29
+ #include <thrust/reduce.h>
30
+ #include <thrust/transform_reduce.h>
31
+
32
+ #include <thrust/iterator/iterator_traits.h>
33
+ #include <thrust/iterator/counting_iterator.h>
34
+ #include <thrust/iterator/zip_iterator.h>
35
+
36
+ THRUST_NAMESPACE_BEGIN
37
+ namespace system
38
+ {
39
+ namespace detail
40
+ {
41
+ namespace generic
42
+ {
43
+ namespace detail
44
+ {
45
+
46
+
47
+ //////////////
48
+ // Functors //
49
+ //////////////
50
+ //
51
+
52
+ // return the smaller/larger element making sure to prefer the
53
+ // first occurance of the minimum/maximum element
54
+ template <typename InputType, typename IndexType, typename BinaryPredicate>
55
+ struct min_element_reduction
56
+ {
57
+ BinaryPredicate comp;
58
+
59
+ __host__ __device__
60
+ min_element_reduction(BinaryPredicate comp) : comp(comp){}
61
+
62
+ __host__ __device__
63
+ thrust::tuple<InputType, IndexType>
64
+ operator()(const thrust::tuple<InputType, IndexType>& lhs,
65
+ const thrust::tuple<InputType, IndexType>& rhs )
66
+ {
67
+ if(comp(thrust::get<0>(lhs), thrust::get<0>(rhs)))
68
+ return lhs;
69
+ if(comp(thrust::get<0>(rhs), thrust::get<0>(lhs)))
70
+ return rhs;
71
+
72
+ // values are equivalent, prefer value with smaller index
73
+ if(thrust::get<1>(lhs) < thrust::get<1>(rhs))
74
+ return lhs;
75
+ else
76
+ return rhs;
77
+ } // end operator()()
78
+ }; // end min_element_reduction
79
+
80
+
81
+ template <typename InputType, typename IndexType, typename BinaryPredicate>
82
+ struct max_element_reduction
83
+ {
84
+ BinaryPredicate comp;
85
+
86
+ __host__ __device__
87
+ max_element_reduction(BinaryPredicate comp) : comp(comp){}
88
+
89
+ __host__ __device__
90
+ thrust::tuple<InputType, IndexType>
91
+ operator()(const thrust::tuple<InputType, IndexType>& lhs,
92
+ const thrust::tuple<InputType, IndexType>& rhs )
93
+ {
94
+ if(comp(thrust::get<0>(lhs), thrust::get<0>(rhs)))
95
+ return rhs;
96
+ if(comp(thrust::get<0>(rhs), thrust::get<0>(lhs)))
97
+ return lhs;
98
+
99
+ // values are equivalent, prefer value with smaller index
100
+ if(thrust::get<1>(lhs) < thrust::get<1>(rhs))
101
+ return lhs;
102
+ else
103
+ return rhs;
104
+ } // end operator()()
105
+ }; // end max_element_reduction
106
+
107
+
108
+ // return the smaller & larger element making sure to prefer the
109
+ // first occurance of the minimum/maximum element
110
+ template <typename InputType, typename IndexType, typename BinaryPredicate>
111
+ struct minmax_element_reduction
112
+ {
113
+ BinaryPredicate comp;
114
+
115
+ __host__ __device__
116
+ minmax_element_reduction(BinaryPredicate comp) : comp(comp){}
117
+
118
+ __host__ __device__
119
+ thrust::tuple< thrust::tuple<InputType,IndexType>, thrust::tuple<InputType,IndexType> >
120
+ operator()(const thrust::tuple< thrust::tuple<InputType,IndexType>, thrust::tuple<InputType,IndexType> >& lhs,
121
+ const thrust::tuple< thrust::tuple<InputType,IndexType>, thrust::tuple<InputType,IndexType> >& rhs )
122
+ {
123
+
124
+ return thrust::make_tuple(min_element_reduction<InputType, IndexType, BinaryPredicate>(comp)(thrust::get<0>(lhs), thrust::get<0>(rhs)),
125
+ max_element_reduction<InputType, IndexType, BinaryPredicate>(comp)(thrust::get<1>(lhs), thrust::get<1>(rhs)));
126
+ } // end operator()()
127
+ }; // end minmax_element_reduction
128
+
129
+
130
+ template <typename InputType, typename IndexType>
131
+ struct duplicate_tuple
132
+ {
133
+ __host__ __device__
134
+ thrust::tuple< thrust::tuple<InputType,IndexType>, thrust::tuple<InputType,IndexType> >
135
+ operator()(const thrust::tuple<InputType,IndexType>& t)
136
+ {
137
+ return thrust::make_tuple(t, t);
138
+ }
139
+ }; // end duplicate_tuple
140
+
141
+
142
+ } // end namespace detail
143
+
144
+
145
+ template <typename DerivedPolicy, typename ForwardIterator>
146
+ __host__ __device__
147
+ ForwardIterator min_element(thrust::execution_policy<DerivedPolicy> &exec,
148
+ ForwardIterator first,
149
+ ForwardIterator last)
150
+ {
151
+ typedef typename thrust::iterator_value<ForwardIterator>::type value_type;
152
+
153
+ return thrust::min_element(exec, first, last, thrust::less<value_type>());
154
+ } // end min_element()
155
+
156
+
157
+ template <typename DerivedPolicy, typename ForwardIterator, typename BinaryPredicate>
158
+ __host__ __device__
159
+ ForwardIterator min_element(thrust::execution_policy<DerivedPolicy> &exec,
160
+ ForwardIterator first,
161
+ ForwardIterator last,
162
+ BinaryPredicate comp)
163
+ {
164
+ if (first == last)
165
+ return last;
166
+
167
+ typedef typename thrust::iterator_traits<ForwardIterator>::value_type InputType;
168
+ typedef typename thrust::iterator_traits<ForwardIterator>::difference_type IndexType;
169
+
170
+ thrust::tuple<InputType, IndexType> result =
171
+ thrust::reduce
172
+ (exec,
173
+ thrust::make_zip_iterator(thrust::make_tuple(first, thrust::counting_iterator<IndexType>(0))),
174
+ thrust::make_zip_iterator(thrust::make_tuple(first, thrust::counting_iterator<IndexType>(0))) + (last - first),
175
+ thrust::tuple<InputType, IndexType>(thrust::detail::get_iterator_value(derived_cast(exec), first), 0),
176
+ detail::min_element_reduction<InputType, IndexType, BinaryPredicate>(comp));
177
+
178
+ return first + thrust::get<1>(result);
179
+ } // end min_element()
180
+
181
+
182
+ template <typename DerivedPolicy, typename ForwardIterator>
183
+ __host__ __device__
184
+ ForwardIterator max_element(thrust::execution_policy<DerivedPolicy> &exec,
185
+ ForwardIterator first,
186
+ ForwardIterator last)
187
+ {
188
+ typedef typename thrust::iterator_value<ForwardIterator>::type value_type;
189
+
190
+ return thrust::max_element(exec, first, last, thrust::less<value_type>());
191
+ } // end max_element()
192
+
193
+
194
+ template <typename DerivedPolicy, typename ForwardIterator, typename BinaryPredicate>
195
+ __host__ __device__
196
+ ForwardIterator max_element(thrust::execution_policy<DerivedPolicy> &exec,
197
+ ForwardIterator first,
198
+ ForwardIterator last,
199
+ BinaryPredicate comp)
200
+ {
201
+ if (first == last)
202
+ return last;
203
+
204
+ typedef typename thrust::iterator_traits<ForwardIterator>::value_type InputType;
205
+ typedef typename thrust::iterator_traits<ForwardIterator>::difference_type IndexType;
206
+
207
+ thrust::tuple<InputType, IndexType> result =
208
+ thrust::reduce
209
+ (exec,
210
+ thrust::make_zip_iterator(thrust::make_tuple(first, thrust::counting_iterator<IndexType>(0))),
211
+ thrust::make_zip_iterator(thrust::make_tuple(first, thrust::counting_iterator<IndexType>(0))) + (last - first),
212
+ thrust::tuple<InputType, IndexType>(thrust::detail::get_iterator_value(derived_cast(exec),first), 0),
213
+ detail::max_element_reduction<InputType, IndexType, BinaryPredicate>(comp));
214
+
215
+ return first + thrust::get<1>(result);
216
+ } // end max_element()
217
+
218
+
219
+ template <typename DerivedPolicy, typename ForwardIterator>
220
+ __host__ __device__
221
+ thrust::pair<ForwardIterator,ForwardIterator> minmax_element(thrust::execution_policy<DerivedPolicy> &exec,
222
+ ForwardIterator first,
223
+ ForwardIterator last)
224
+ {
225
+ typedef typename thrust::iterator_value<ForwardIterator>::type value_type;
226
+
227
+ return thrust::minmax_element(exec, first, last, thrust::less<value_type>());
228
+ } // end minmax_element()
229
+
230
+
231
+ template <typename DerivedPolicy, typename ForwardIterator, typename BinaryPredicate>
232
+ __host__ __device__
233
+ thrust::pair<ForwardIterator,ForwardIterator> minmax_element(thrust::execution_policy<DerivedPolicy> &exec,
234
+ ForwardIterator first,
235
+ ForwardIterator last,
236
+ BinaryPredicate comp)
237
+ {
238
+ if (first == last)
239
+ return thrust::make_pair(last, last);
240
+
241
+ typedef typename thrust::iterator_traits<ForwardIterator>::value_type InputType;
242
+ typedef typename thrust::iterator_traits<ForwardIterator>::difference_type IndexType;
243
+
244
+ thrust::tuple< thrust::tuple<InputType,IndexType>, thrust::tuple<InputType,IndexType> > result =
245
+ thrust::transform_reduce
246
+ (exec,
247
+ thrust::make_zip_iterator(thrust::make_tuple(first, thrust::counting_iterator<IndexType>(0))),
248
+ thrust::make_zip_iterator(thrust::make_tuple(first, thrust::counting_iterator<IndexType>(0))) + (last - first),
249
+ detail::duplicate_tuple<InputType, IndexType>(),
250
+ detail::duplicate_tuple<InputType, IndexType>()(
251
+ thrust::tuple<InputType, IndexType>(thrust::detail::get_iterator_value(derived_cast(exec),first), 0)),
252
+ detail::minmax_element_reduction<InputType, IndexType, BinaryPredicate>(comp));
253
+
254
+ return thrust::make_pair(first + thrust::get<1>(thrust::get<0>(result)), first + thrust::get<1>(thrust::get<1>(result)));
255
+ } // end minmax_element()
256
+
257
+
258
+ } // end namespace generic
259
+ } // end namespace detail
260
+ } // end namespace system
261
+ THRUST_NAMESPACE_END
262
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/fill.h ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+
21
+ #include <thrust/detail/internal_functional.h>
22
+ #include <thrust/generate.h>
23
+ #include <thrust/system/detail/generic/tag.h>
24
+
25
+ THRUST_NAMESPACE_BEGIN
26
+ namespace system
27
+ {
28
+ namespace detail
29
+ {
30
+ namespace generic
31
+ {
32
+
33
+
34
+ template<typename DerivedPolicy, typename OutputIterator, typename Size, typename T>
35
+ __host__ __device__
36
+ OutputIterator fill_n(thrust::execution_policy<DerivedPolicy> &exec,
37
+ OutputIterator first,
38
+ Size n,
39
+ const T &value)
40
+ {
41
+ // XXX consider using the placeholder expression _1 = value
42
+ return thrust::generate_n(exec, first, n, thrust::detail::fill_functor<T>(value));
43
+ }
44
+
45
+ template<typename DerivedPolicy, typename ForwardIterator, typename T>
46
+ __host__ __device__
47
+ void fill(thrust::execution_policy<DerivedPolicy> &exec,
48
+ ForwardIterator first,
49
+ ForwardIterator last,
50
+ const T &value)
51
+ {
52
+ // XXX consider using the placeholder expression _1 = value
53
+ thrust::generate(exec, first, last, thrust::detail::fill_functor<T>(value));
54
+ }
55
+
56
+
57
+ } // end namespace generic
58
+ } // end namespace detail
59
+ } // end namespace system
60
+ THRUST_NAMESPACE_END
61
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/find.h ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+
18
+ #pragma once
19
+
20
+ #include <thrust/detail/config.h>
21
+ #include <thrust/system/detail/generic/tag.h>
22
+
23
+ THRUST_NAMESPACE_BEGIN
24
+ namespace system
25
+ {
26
+ namespace detail
27
+ {
28
+ namespace generic
29
+ {
30
+
31
+
32
+ template<typename DerivedPolicy, typename InputIterator, typename T>
33
+ __host__ __device__
34
+ InputIterator find(thrust::execution_policy<DerivedPolicy> &exec,
35
+ InputIterator first,
36
+ InputIterator last,
37
+ const T& value);
38
+
39
+
40
+ template<typename DerivedPolicy, typename InputIterator, typename Predicate>
41
+ __host__ __device__
42
+ InputIterator find_if(thrust::execution_policy<DerivedPolicy> &exec,
43
+ InputIterator first,
44
+ InputIterator last,
45
+ Predicate pred);
46
+
47
+
48
+ template<typename DerivedPolicy, typename InputIterator, typename Predicate>
49
+ __host__ __device__
50
+ InputIterator find_if_not(thrust::execution_policy<DerivedPolicy> &exec,
51
+ InputIterator first,
52
+ InputIterator last,
53
+ Predicate pred);
54
+
55
+
56
+ } // end namespace generic
57
+ } // end namespace detail
58
+ } // end namespace system
59
+ THRUST_NAMESPACE_END
60
+
61
+ #include <thrust/system/detail/generic/find.inl>
62
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/find.inl ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #pragma once
18
+
19
+ #include <thrust/detail/config.h>
20
+ #include <thrust/find.h>
21
+ #include <thrust/reduce.h>
22
+
23
+ #include <thrust/tuple.h>
24
+ #include <thrust/detail/minmax.h>
25
+ #include <thrust/iterator/counting_iterator.h>
26
+ #include <thrust/iterator/transform_iterator.h>
27
+ #include <thrust/iterator/zip_iterator.h>
28
+ #include <thrust/detail/internal_functional.h>
29
+
30
+
31
+ // Contributed by Erich Elsen
32
+
33
+ THRUST_NAMESPACE_BEGIN
34
+ namespace system
35
+ {
36
+ namespace detail
37
+ {
38
+ namespace generic
39
+ {
40
+
41
+
42
+ template<typename DerivedPolicy, typename InputIterator, typename T>
43
+ __host__ __device__
44
+ InputIterator find(thrust::execution_policy<DerivedPolicy> &exec,
45
+ InputIterator first,
46
+ InputIterator last,
47
+ const T& value)
48
+ {
49
+ using thrust::placeholders::_1;
50
+
51
+ return thrust::find_if(exec, first, last, _1 == value);
52
+ } // end find()
53
+
54
+
55
+ template<typename TupleType>
56
+ struct find_if_functor
57
+ {
58
+ __host__ __device__
59
+ TupleType operator()(const TupleType& lhs, const TupleType& rhs) const
60
+ {
61
+ // select the smallest index among true results
62
+ if(thrust::get<0>(lhs) && thrust::get<0>(rhs))
63
+ {
64
+ return TupleType(true, (thrust::min)(thrust::get<1>(lhs), thrust::get<1>(rhs)));
65
+ }
66
+ else if(thrust::get<0>(lhs))
67
+ {
68
+ return lhs;
69
+ }
70
+ else
71
+ {
72
+ return rhs;
73
+ }
74
+ }
75
+ };
76
+
77
+
78
+ template<typename DerivedPolicy, typename InputIterator, typename Predicate>
79
+ __host__ __device__
80
+ InputIterator find_if(thrust::execution_policy<DerivedPolicy> &exec,
81
+ InputIterator first,
82
+ InputIterator last,
83
+ Predicate pred)
84
+ {
85
+ typedef typename thrust::iterator_traits<InputIterator>::difference_type difference_type;
86
+ typedef typename thrust::tuple<bool,difference_type> result_type;
87
+
88
+ // empty sequence
89
+ if(first == last) return last;
90
+
91
+ const difference_type n = thrust::distance(first, last);
92
+
93
+ // this implementation breaks up the sequence into separate intervals
94
+ // in an attempt to early-out as soon as a value is found
95
+
96
+ // TODO incorporate sizeof(InputType) into interval_threshold and round to multiple of 32
97
+ const difference_type interval_threshold = 1 << 20;
98
+ const difference_type interval_size = (thrust::min)(interval_threshold, n);
99
+
100
+ // force transform_iterator output to bool
101
+ typedef thrust::transform_iterator<Predicate, InputIterator, bool> XfrmIterator;
102
+ typedef thrust::tuple<XfrmIterator, thrust::counting_iterator<difference_type> > IteratorTuple;
103
+ typedef thrust::zip_iterator<IteratorTuple> ZipIterator;
104
+
105
+ IteratorTuple iter_tuple = thrust::make_tuple(XfrmIterator(first, pred),
106
+ thrust::counting_iterator<difference_type>(0));
107
+
108
+ ZipIterator begin = thrust::make_zip_iterator(iter_tuple);
109
+ ZipIterator end = begin + n;
110
+
111
+ for(ZipIterator interval_begin = begin; interval_begin < end; interval_begin += interval_size)
112
+ {
113
+ ZipIterator interval_end = interval_begin + interval_size;
114
+ if(end < interval_end)
115
+ {
116
+ interval_end = end;
117
+ } // end if
118
+
119
+ result_type result = thrust::reduce(exec,
120
+ interval_begin, interval_end,
121
+ result_type(false,interval_end - begin),
122
+ find_if_functor<result_type>());
123
+
124
+ // see if we found something
125
+ if(thrust::get<0>(result))
126
+ {
127
+ return first + thrust::get<1>(result);
128
+ }
129
+ }
130
+
131
+ //nothing was found if we reach here...
132
+ return first + n;
133
+ }
134
+
135
+
136
+ template<typename DerivedPolicy, typename InputIterator, typename Predicate>
137
+ __host__ __device__
138
+ InputIterator find_if_not(thrust::execution_policy<DerivedPolicy> &exec,
139
+ InputIterator first,
140
+ InputIterator last,
141
+ Predicate pred)
142
+ {
143
+ return thrust::find_if(exec, first, last, thrust::detail::not1(pred));
144
+ } // end find()
145
+
146
+
147
+ } // end namespace generic
148
+ } // end namespace detail
149
+ } // end namespace system
150
+ THRUST_NAMESPACE_END
151
+
miniconda3/envs/active_proaction/lib/python3.10/site-packages/tensorflow/include/third_party/gpus/cuda/include/thrust/system/detail/generic/for_each.h ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Copyright 2008-2013 NVIDIA Corporation
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /*! \file for_each.h
18
+ * \brief Generic implementation of for_each & for_each_n.
19
+ * It is an error to call these functions; they have no implementation.
20
+ */
21
+
22
+ #pragma once
23
+
24
+ #include <thrust/detail/config.h>
25
+ #include <thrust/detail/execution_policy.h>
26
+ #include <thrust/system/detail/generic/tag.h>
27
+ #include <thrust/detail/static_assert.h>
28
+
29
+ THRUST_NAMESPACE_BEGIN
30
+ namespace system
31
+ {
32
+ namespace detail
33
+ {
34
+ namespace generic
35
+ {
36
+
37
+
38
+ template<typename DerivedPolicy,
39
+ typename InputIterator,
40
+ typename UnaryFunction>
41
+ __host__ __device__
42
+ InputIterator for_each(thrust::execution_policy<DerivedPolicy> &,
43
+ InputIterator first,
44
+ InputIterator ,
45
+ UnaryFunction )
46
+ {
47
+ THRUST_STATIC_ASSERT_MSG(
48
+ (thrust::detail::depend_on_instantiation<InputIterator, false>::value)
49
+ , "unimplemented for this system"
50
+ );
51
+ return first;
52
+ } // end for_each()
53
+
54
+
55
+ template<typename DerivedPolicy,
56
+ typename InputIterator,
57
+ typename Size,
58
+ typename UnaryFunction>
59
+ __host__ __device__
60
+ InputIterator for_each_n(thrust::execution_policy<DerivedPolicy> &,
61
+ InputIterator first,
62
+ Size ,
63
+ UnaryFunction )
64
+ {
65
+ THRUST_STATIC_ASSERT_MSG(
66
+ (thrust::detail::depend_on_instantiation<InputIterator, false>::value)
67
+ , "unimplemented for this system"
68
+ );
69
+ return first;
70
+ } // end for_each_n()
71
+
72
+
73
+ } // end namespace generic
74
+ } // end namespace detail
75
+ } // end namespace system
76
+ THRUST_NAMESPACE_END
77
+