Skip to content

Utilize multiple GPUs #891

@thk686

Description

@thk686

I am testing stan on a system with three A100 GPUs. It appears all of the jobs run on the first GPU, ignoring the others. It seems this code:

      if (!is.null(self$opencl_ids)) {
        args$opencl <- c("opencl", paste0("platform=", self$opencl_ids[1]), paste0("device=", self$opencl_ids[2]))
      }

could be generalized to iterate over a vector of device ids.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions