GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PBS_GPUMODE (3)


.Ig
.Ig

NAME

pbs_gpumode - change GPU mode

CONTENTS

Synopsis
Description
Diagnostics

SYNOPSIS

#include <pbs_error.h>
#include <pbs_ifl.h>

int pbs_gpumode(int connect, char *mom_node, int gpu_id, int gpu_mode)

DESCRIPTION

Issue a batch request for the pbs_mom to change the mode on one of it’s Nvidia GPUs. The GPU’s mode is changed by sending a GPU Control batch request to the batch server.

This call requires PBS Operator or Manager privilege. It also requires that Torque be configured with --enable-nvidia-gpu.

The argument, specifies the host within the cluster on which the GPU is located. The argument is the name of a host that is a member of the cluster of hosts managed by the server.

The argument, specifies ID of the GPU on the MOM node.

The argument, specifies new mode of the GPU. Valid Nvidia GPU modes are:

0 - Normal mode.
1 - COMPUTE exclusive thread mode (only one COMPUTE thread is allowed to run on the GPU).
2 - COMPUTE prohibited mode (no COMPUTE contexts are allowed to run on the GPU).
3 - COMPUTE exclusive process mode (only one COMPUTE process is allowed to run on the GPU). This mode is new with Nvidia driver version 270.

SEE ALSO

qgpumode(1B)

DIAGNOSTICS

When the batch request generated by the pbs_gpumode() function has been completed successfully by a batch server, the routine will return 0 (zero). Otherwise, a non zero error is returned. The error number is also set in pbs_errno.

Search for    or go to Top of page |  Section 3 |  Main Index


Local PBS_GPUMODE (3B)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.