cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

Darr
Journeyman III

AMD μProf stuck on profile metrics

Hello,

I downloaded AMD μProf to try and experiment with it and see how well it performs for working on low-level optimizations.

I run into this error when trying to profile my simple c++ application. "0%      Processing profile metrics...." It never seems to make any progress and just gets stuck processing data.

I'm using version 3.3 or AMDuProf-3.3.490.exe.

Code:

void loop_1(int steps, int* a)
{
	for (int i=0; i<steps; i++) { a[0]++; a[0]++; }
}

void loop_2(int steps, int* a)
{
	for (int i=0; i<steps; i++) { a[0]++; a[1]++; }
}

int main()
{
	int steps = 256 * 1024 * 1024;
	int* a = new int[2];

	loop_1(steps, a);

	loop_2(steps, a);

	return 0;
}

 

0 Likes
1 Reply
Darr
Journeyman III

Hmm worth nothing decreasing steps to 1 make it work. Having steps to set to 256 * 1024, makes it pause at 20% processing. Maybe a genuine bug here, no idea what AMD μProf is doing under the hood but other application I have tired see no issues.

0 Likes