Disable shared memeory and private memory codegen