Skip to main content
Known Participant
June 3, 2020
Answered

where is SDK_Invert_ProcAmp_Kernel.metal.h in the new sdk

  • June 3, 2020
  • 2 replies
  • 790 views

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.

This topic has been closed for replies.
Correct answer James Whiffin

I forgot to follow these steps, now it builds fine:

https://usermanual.wiki/Document/AE20GPU20SDK20Build20Instructions.664418180/help

2 replies

James Whiffin
James WhiffinCorrect answer
Legend
June 15, 2020
urbellerAuthor
Known Participant
June 17, 2020

Thank you ! indeed it works. I didn't realize that the metal shader file was actually generated...rather translated from cuda. thank you again.

James Whiffin
Legend
June 15, 2020

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?