waifu2x-metal
waifu2x-metal copied to clipboard
Out of buffer memory error
Compiles and runs beautifully with XCode 8 or 9 with smaller files. But with larger jpeg and png images, runs out of memory allocated to metal buffer, and crashes.
32 32 64 64 128 Fatal error: MetalExecutionError: Error Domain=MTLCommandBufferErrorDomain Code=8 "Insufficient Memory (IOAF code 8)" UserInfo={NSLocalizedDescription=Insufficient Memory (IOAF code 8)}: file /Users/xxxx/Downloads/waifu/waifu2x-metal-master/waifu2x-metal/main.swift, line 261 Illegal instruction: 4
Any easy solutions to this?