| version 1.4 | version 1.5 |
|---|
| |
| int *pesSharingDevice; | int *pesSharingDevice; |
| // True when what??? | // True when what??? |
| int gpuIsMine; | int gpuIsMine; |
| // Value of __CUDA_ARCH__ | |
| int cuda_arch; | |
| | |
| // Device ID for this Pe | // Device ID for this Pe |
| int deviceID; | int deviceID; |
| |
| int getGpuIsMine() {return gpuIsMine;} | int getGpuIsMine() {return gpuIsMine;} |
| void setGpuIsMine(const int val) {gpuIsMine = val;} | void setGpuIsMine(const int val) {gpuIsMine = val;} |
| | |
| int get_cuda_arch() {return cuda_arch;} | |
| | |
| int getDeviceID() {return deviceID;} | int getDeviceID() {return deviceID;} |
| int getDeviceIDbyRank(int rank) {return devices[rank];} | int getDeviceIDbyRank(int rank) {return devices[rank];} |
| int getDeviceIDforPe(int pe); | int getDeviceIDforPe(int pe); |