Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cuda12.6/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Description: Provides CUDA 12.6 native libraries (runtime, cuBLAS, cuDNN, cuFFT,
downloading pre-built binaries from PyPI at install time. Intended to be used
as a dependency by packages that require CUDA 12.6.
SystemRequirements: Linux or Windows; not supported on macOS.
Imports: stats, utils
License: MIT + file LICENSE
URL: https://github.com/mlverse/cudatoolkit
BugReports: https://github.com/mlverse/cudatoolkit/issues
Expand Down
10 changes: 5 additions & 5 deletions cuda12.6/R/paths.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Read component -> wheel_subdir mapping from installed components.tsv
.read_components <- function() {
tsv <- system.file("components.tsv", package = packageName(), mustWork = TRUE)
df <- read.delim(tsv, stringsAsFactors = FALSE)
setNames(df$wheel_subdir, df$component)
tsv <- system.file("components.tsv", package = utils::packageName(), mustWork = TRUE)
df <- utils::read.delim(tsv, stringsAsFactors = FALSE)
stats::setNames(df$wheel_subdir, df$component)
}

# Lazily cached component map
Expand All @@ -27,7 +27,7 @@
#' @export
cuda_path <- function(component) {
system.file(file.path("nvidia", .component_subdir(component)),
package = packageName(), mustWork = TRUE)
package = utils::packageName(), mustWork = TRUE)
}

#' Path to the shared library directory
Expand All @@ -37,7 +37,7 @@ cuda_path <- function(component) {
#' @return A character string with the path to the lib directory.
#' @export
lib_path <- function() {
system.file("lib", package = packageName(), mustWork = TRUE)
system.file("lib", package = utils::packageName(), mustWork = TRUE)
}

#' Path to a CUDA component's headers
Expand Down
1 change: 1 addition & 0 deletions cuda12.8/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Description: Provides CUDA 12.8 native libraries (runtime, cuBLAS, cuDNN, cuFFT,
downloading pre-built binaries from PyPI at install time. Intended to be used
as a dependency by packages that require CUDA 12.8.
SystemRequirements: Linux or Windows; not supported on macOS.
Imports: stats, utils
License: MIT + file LICENSE
URL: https://github.com/mlverse/cudatoolkit
BugReports: https://github.com/mlverse/cudatoolkit/issues
Expand Down
10 changes: 5 additions & 5 deletions cuda12.8/R/paths.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Read component -> wheel_subdir mapping from installed components.tsv
.read_components <- function() {
tsv <- system.file("components.tsv", package = packageName(), mustWork = TRUE)
df <- read.delim(tsv, stringsAsFactors = FALSE)
setNames(df$wheel_subdir, df$component)
tsv <- system.file("components.tsv", package = utils::packageName(), mustWork = TRUE)
df <- utils::read.delim(tsv, stringsAsFactors = FALSE)
stats::setNames(df$wheel_subdir, df$component)
}

# Lazily cached component map
Expand All @@ -27,7 +27,7 @@
#' @export
cuda_path <- function(component) {
system.file(file.path("nvidia", .component_subdir(component)),
package = packageName(), mustWork = TRUE)
package = utils::packageName(), mustWork = TRUE)
}

#' Path to the shared library directory
Expand All @@ -37,7 +37,7 @@ cuda_path <- function(component) {
#' @return A character string with the path to the lib directory.
#' @export
lib_path <- function() {
system.file("lib", package = packageName(), mustWork = TRUE)
system.file("lib", package = utils::packageName(), mustWork = TRUE)
}

#' Path to a CUDA component's headers
Expand Down
1 change: 1 addition & 0 deletions cuda12.9/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Description: Provides CUDA 12.9 native libraries (runtime, cuBLAS, cuDNN, cuFFT,
downloading pre-built binaries from PyPI at install time. Intended to be used
as a dependency by packages that require CUDA 12.9.
SystemRequirements: Linux or Windows; not supported on macOS.
Imports: stats, utils
License: MIT + file LICENSE
URL: https://github.com/mlverse/cudatoolkit
BugReports: https://github.com/mlverse/cudatoolkit/issues
Expand Down
10 changes: 5 additions & 5 deletions cuda12.9/R/paths.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Read component -> wheel_subdir mapping from installed components.tsv
.read_components <- function() {
tsv <- system.file("components.tsv", package = packageName(), mustWork = TRUE)
df <- read.delim(tsv, stringsAsFactors = FALSE)
setNames(df$wheel_subdir, df$component)
tsv <- system.file("components.tsv", package = utils::packageName(), mustWork = TRUE)
df <- utils::read.delim(tsv, stringsAsFactors = FALSE)
stats::setNames(df$wheel_subdir, df$component)
}

# Lazily cached component map
Expand All @@ -27,7 +27,7 @@
#' @export
cuda_path <- function(component) {
system.file(file.path("nvidia", .component_subdir(component)),
package = packageName(), mustWork = TRUE)
package = utils::packageName(), mustWork = TRUE)
}

#' Path to the shared library directory
Expand All @@ -37,7 +37,7 @@ cuda_path <- function(component) {
#' @return A character string with the path to the lib directory.
#' @export
lib_path <- function() {
system.file("lib", package = packageName(), mustWork = TRUE)
system.file("lib", package = utils::packageName(), mustWork = TRUE)
}

#' Path to a CUDA component's headers
Expand Down
1 change: 1 addition & 0 deletions cuda13.2/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Description: Provides CUDA 13.2 native libraries (runtime, cuBLAS, cuDNN, cuFFT,
downloading pre-built binaries from PyPI at install time. Intended to be used
as a dependency by packages that require CUDA 13.2.
SystemRequirements: Linux or Windows; not supported on macOS.
Imports: stats, utils
License: MIT + file LICENSE
URL: https://github.com/mlverse/cudatoolkit
BugReports: https://github.com/mlverse/cudatoolkit/issues
Expand Down
10 changes: 5 additions & 5 deletions cuda13.2/R/paths.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Read component -> wheel_subdir mapping from installed components.tsv
.read_components <- function() {
tsv <- system.file("components.tsv", package = packageName(), mustWork = TRUE)
df <- read.delim(tsv, stringsAsFactors = FALSE)
setNames(df$wheel_subdir, df$component)
tsv <- system.file("components.tsv", package = utils::packageName(), mustWork = TRUE)
df <- utils::read.delim(tsv, stringsAsFactors = FALSE)
stats::setNames(df$wheel_subdir, df$component)
}

# Lazily cached component map
Expand All @@ -27,7 +27,7 @@
#' @export
cuda_path <- function(component) {
system.file(file.path("nvidia", .component_subdir(component)),
package = packageName(), mustWork = TRUE)
package = utils::packageName(), mustWork = TRUE)
}

#' Path to the shared library directory
Expand All @@ -37,7 +37,7 @@ cuda_path <- function(component) {
#' @return A character string with the path to the lib directory.
#' @export
lib_path <- function() {
system.file("lib", package = packageName(), mustWork = TRUE)
system.file("lib", package = utils::packageName(), mustWork = TRUE)
}

#' Path to a CUDA component's headers
Expand Down
1 change: 1 addition & 0 deletions shared/DESCRIPTION.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Description: Provides CUDA {{CUDA_MINOR}} native libraries (runtime, cuBLAS, cuD
downloading pre-built binaries from PyPI at install time. Intended to be used
as a dependency by packages that require CUDA {{CUDA_MINOR}}.
SystemRequirements: Linux or Windows; not supported on macOS.
Imports: stats, utils
License: MIT + file LICENSE
URL: https://github.com/mlverse/cudatoolkit
BugReports: https://github.com/mlverse/cudatoolkit/issues
Expand Down
10 changes: 5 additions & 5 deletions shared/R/paths.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Read component -> wheel_subdir mapping from installed components.tsv
.read_components <- function() {
tsv <- system.file("components.tsv", package = packageName(), mustWork = TRUE)
df <- read.delim(tsv, stringsAsFactors = FALSE)
setNames(df$wheel_subdir, df$component)
tsv <- system.file("components.tsv", package = utils::packageName(), mustWork = TRUE)
df <- utils::read.delim(tsv, stringsAsFactors = FALSE)
stats::setNames(df$wheel_subdir, df$component)
}

# Lazily cached component map
Expand All @@ -27,7 +27,7 @@
#' @export
cuda_path <- function(component) {
system.file(file.path("nvidia", .component_subdir(component)),
package = packageName(), mustWork = TRUE)
package = utils::packageName(), mustWork = TRUE)
}

#' Path to the shared library directory
Expand All @@ -37,7 +37,7 @@ cuda_path <- function(component) {
#' @return A character string with the path to the lib directory.
#' @export
lib_path <- function() {
system.file("lib", package = packageName(), mustWork = TRUE)
system.file("lib", package = utils::packageName(), mustWork = TRUE)
}

#' Path to a CUDA component's headers
Expand Down
Loading