Copy link to clipboard
Copied
Hello,
In the attempt of testing the new Metal support on mac, I downloaded the updated SDK but it doesnt build. It seems like the file SDK_Invert_ProcAmp_Kernel.metal.h is missing. Can you please tell me where to find it and if there is any recommendations to build a metal based plugin. thank you.
I forgot to follow these steps, now it builds fine:
https://usermanual.wiki/Document/AE20GPU20SDK20Build20Instructions.664418180/help
Copy link to clipboard
Copied
I have a similar issue with the build of SDK_Invert_ProcAmp on OSX.
This build step errors:
File "SDK_Invert_ProcAmp/Mac/../../../GPUUtils/CreateCString.py", line 52, in <module>
with open(inputfile, 'r') if len(inputfile) > 0 else sys.stdin as f:
IOError: [Errno 2] No such file or directory: 'Build/Intermediates.noindex/SDK_Invert_ProcAmp.build/Debug/SDK_Invert_ProcAmp.build/DerivedSources/64/PreprocessedOpenCL/SDK_Invert_ProcAmp_Kernel.i'
It's correct, inside the location there is no SDK_Invert_ProcAmp_Kernel.i, just SDK_Invert_ProcAmp_Kernel.metal.h.
So it seems SDK_Invert_ProcAmp_Kernel.metal.h is created on build. Any idea about the .i file?
Copy link to clipboard
Copied
I forgot to follow these steps, now it builds fine:
https://usermanual.wiki/Document/AE20GPU20SDK20Build20Instructions.664418180/help
Copy link to clipboard
Copied
Thank you ! indeed it works. I didn't realize that the metal shader file was actually generated...rather translated from cuda. thank you again.