Reverting this for now till we figure out how to avoid the build
breakage.
This reverts commit fa98798b63.
이 커밋은 다음에 포함됨:
1 부모
dd34ea95d6
커밋
f8e1c01900
7 파일이 변경됨
+60
-35
검색과 일치하는 파일 없음
@@ -86,8 +86,8 @@ void launchKernel(float* C, float* A, float* B, bool manual){
|
||||
printf("kernel Execution time = %6.3fms\n", eventMs);
|
||||
|
||||
//Calculate Occupancy
|
||||
int numBlock = 0;
|
||||
HIP_CHECK(hipOccupancyMaxActiveBlocksPerMultiprocessor(&numBlock, multiply,(int)blockSize, 0));
|
||||
uint32_t numBlock = 0;
|
||||
HIP_CHECK(hipOccupancyMaxActiveBlocksPerMultiprocessor(&numBlock, multiply, blockSize, 0));
|
||||
|
||||
if(devProp.maxThreadsPerMultiProcessor){
|
||||
std::cout << "Theoretical Occupancy is " << (double)numBlock* blockSize/devProp.maxThreadsPerMultiProcessor * 100 << "%" << std::endl;
|
||||
|
||||
새 이슈에서 참조
사용자 차단