Skip to content

Commit 2934ded

Browse files
committed
Remove duplicate documentation.
The docs on the `CudaBuilder::arch` method are a subset of those on the `CudaBuilder::arch` field. So just remove all the method docs except for the pointer to the arch docs. XXX: NVVM IR 1.6 -> 2.0 https://docs.nvidia.com/cuda/archive/12.0.0/cuda-toolkit-release-notes/index.html
1 parent 1eca961 commit 2934ded

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

crates/cuda_builder/src/lib.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -257,23 +257,6 @@ impl CudaBuilder {
257257
self
258258
}
259259

260-
/// The virtual compute architecture to target for PTX generation. This
261-
/// dictates how certain things are codegenned and may affect performance
262-
/// and/or which gpus the code can run on.
263-
///
264-
/// You should generally try to pick an arch that will work with most
265-
/// GPUs you want your program to work with.
266-
///
267-
/// If you are unsure, either leave this option to default, or pick something around 5.2 to 7.x.
268-
///
269-
/// You can find a list of features supported on each arch and a list of GPUs for every
270-
/// arch [`here`](https://en.wikipedia.org/wiki/CUDA#Version_features_and_specifications).
271-
///
272-
/// NOTE that this does not necessarily mean that code using a certain capability
273-
/// will not work on older capabilities. It means that if it uses certain
274-
/// features it may not work.
275-
///
276-
/// The chosen architecture enables target features for conditional compilation.
277260
/// See the documentation on the `arch` field for more details.
278261
pub fn arch(mut self, arch: NvvmArch) -> Self {
279262
self.arch = arch;

0 commit comments

Comments
 (0)