Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I have a similar problem.
Yet it happens only on OS X.
I run one of my Plug In's which uses OpenMP.
Then I run another one and Photoshop crashes.
Looking on the Crash Report it seems the previous one left some threads though it finished its task.
How can I make those "Threads" close?
I really need this OpenMP for our tasks.
Why does it happen only on OS X?
I use OS X 10.10 with Intel Compiler 2015 Update 6.
Copy link to clipboard
Copied
The gain by using OpenMP IMO is not worth the stretch...
Use OpenCL. That's where the scores will really change.
It aint easy to integrate, especially if you use the adobesdk documentation which is more misguiding that guiding.
One word of advice... Ditch the Documentation and try and map the code from Dissolve in to your own logic.
It will take you weeks but you will learn a lot and learn how you can ditch a whole lot of the superfluous code resting inside the dissolve plug...
To Adobe, you really should put up a disclaimer warning folks about the documentation. It would have saved us weeks. We actually took the documentation seriously and got bitten very BADLY - time wise - because of it. It is extremely outdated and completely missing the important links that would qualify it as being - well - documentation...
Also, the Dissolve Plug-in Template has a LOT of bugs and empty Code which for a template allowing third party developers to write photoshop plugs - isnt really necessary.
Copy link to clipboard
Copied
Hi,
I agree with you OpenCL might introduce better results.
But now the code is optimized to work with OpenMP and I wonder what is the right way to use it.
It seems to work perfectly in Windows yet in OS X there are many issues.