fix_format

Change-Id: I34e265de434263a11654e5deba044c3f21e86578
이 커밋은 다음에 포함됨:
Sandeep Kumar 작성하고 Maneesh Gupta가 2016-11-18 14:34:14 +05:30를 커밋함
1 부모 2195e3c37d
커밋 1fe6890ba3
2 파일이 변경됨
+41 -42

검색과 일치하는 파일 없음

+6 -6
파일 보기
@@ -108,7 +108,7 @@ void disablePeer2Peer(int currentGpu, int peerGpu)
HIPCHECK(hipSetDevice(currentGpu));
hipDeviceCanAccessPeer(&canAccessPeer, currentGpu, peerGpu);
if(canAccessPeer==1){
HIPCHECK(hipDeviceDisablePeerAccess(peerGpu));
}
@@ -155,7 +155,7 @@ __global__ void matrixTranspose_dynamic_shared(hipLaunchParm lp,
int main(){
checkPeer2PeerSupport();
int gpuCount;
int currentGpu, peerGpu;
@@ -191,10 +191,10 @@ int main(){
0, 0,
gpuTransposeMatrix[0], data[0], width);
HIPCHECK(hipSetDevice(peerGpu));
TransposeMatrix[1] = (float*)malloc(NUM * sizeof(float));
hipMalloc((void**)&gpuTransposeMatrix[1], NUM * sizeof(float));
hipMalloc((void**)&data[1], NUM * sizeof(float));
HIPCHECK(hipSetDevice(peerGpu));
TransposeMatrix[1] = (float*)malloc(NUM * sizeof(float));
hipMalloc((void**)&gpuTransposeMatrix[1], NUM * sizeof(float));
hipMalloc((void**)&data[1], NUM * sizeof(float));
hipMemcpy(data[1], gpuTransposeMatrix[0], NUM * sizeof(float), hipMemcpyDeviceToDevice);
hipLaunchKernel(matrixTranspose_dynamic_shared,