cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

himanshu_gautam
Grandmaster
Grandmaster

Re: OpenCL performance dropped down 12.10 >> 13.1

Thanks darkhmz,

Will look into the test case and let you know.

Is this windows issue or linux? It is helpful if you can give any more details about your setup.

0 Kudos
Reply
darkhmz
Adept I
Adept I

Re: OpenCL performance dropped down 12.10 >> 13.1

Hi!

Win7 x64 + Catalyst 12.10 here...

0 Kudos
Reply
himanshu_gautam
Grandmaster
Grandmaster

Re: OpenCL performance dropped down 12.10 >> 13.1

Hi darkhmz,

I have been trying to work on it. I was able to see the slow down in kernel execution (from the outputs of codexl) using the dlls you provided.

But i also tried to create a fresh system, with just the AMD driver installed. When I installed catalyst 12.10, and tried running the executable, using your dlls (12.10 & 13.1), I did not saw the performance degradation. When using the catalyst's amdocl.dll also, the fps was consistent. Still digging more on it.

Did you made any progress, in narrowing down the issue?

Surprisingly codexl still shows the diffference in kernel timings (~33%) when run on the fresh machine just having the driver . Will it be possible for you to share some code, which i can compile. It is a 32-bit exe on a 64bit win7 platoform. Do you see similar performance drop on a 64-bit executable too?

Message was edited by: Himanshu Gautam

0 Kudos
Reply
darkhmz
Adept I
Adept I

Re: OpenCL performance dropped down 12.10 >> 13.1

Hi Himanshu,

I've compiled a 64 bit version and tested again, this time with amdocl64.dlls and the performance difference is still here. Though if  i change the scene, the difference is gone in some cases. For example with the following simple plane + bumpy torus scene i didnt see fps difference.

float4 de(float4 p, float4 q)

{

          float dst1 = dfPlane(p, (float4)(0.0f, 1.0f, 0.0f, -1.0f));

          float dst2 = dfTorus(p, (float2)(2.5f, 0.8f)) - max(perlin(p * 3.0f) * 0.1f, 0.0f);

          return (float4)(U(dst1, dst2), 0.0f, 0.2f, 0.0f);

}

Im going to try a fresh test system and share my code sometime this week, then test again.

0 Kudos
Reply
himanshu_gautam
Grandmaster
Grandmaster

Re: OpenCL performance dropped down 12.10 >> 13.1

Thanks for the update.

As I am able to see the difference in kernel execution times, I am planning to forward it to AMD Engg team.

I will send them the source code, once you attach it here.

Thanks for reporting the problem.

BTW I accidently marked this post as assumed answered. Not sure how to revert it though.

0 Kudos
Reply
darkhmz
Adept I
Adept I

Re: OpenCL performance dropped down 12.10 >> 13.1

Hi, here is my code.

np, glad i could help.

edit: link removed, file attached.

0 Kudos
Reply
yurtesen
Miniboss
Miniboss

Re: OpenCL performance dropped down 12.10 >> 13.1

I have a small program which is getting about ~25% performance drop with 13.1 drivers. Do you have an email that I can send it to? (it is small but I would rather not upload it to public forum unless absolutely necessary).  ?

0 Kudos
Reply
himanshu_gautam
Grandmaster
Grandmaster

Re: OpenCL performance dropped down 12.10 >> 13.1

Hi yurtsen,

I guess it is necessary to send your testcase via public medium only. I would recommend you to start a new thread, so it is easy to track. My apologies for the inconvenience.

0 Kudos
Reply
yurtesen
Miniboss
Miniboss

Re: OpenCL performance dropped down 12.10 >> 13.1

himanshu.gautam wrote:

Hi yurtsen,

I guess it is necessary to send your testcase via public medium only. I would recommend you to start a new thread, so it is easy to track. My apologies for the inconvenience.

I would understand this if I was looking for a problem in my program. But it doesnt make much sense since the problem appears to be the driver and nobody else (other than AMD) has to see the code. However, I will try to find out if I am allowed to share the code with public and return back to you in a new thread if I can.

0 Kudos
Reply
himanshu_gautam
Grandmaster
Grandmaster

Re: OpenCL performance dropped down 12.10 >> 13.1

Thanks for your support.

I had asked for private message channel, but there appears to be some legal problems with that. Hope you will be able to reproduce your problem with a small testcase, which is easy to share for your in public domain.

0 Kudos
Reply