Quantcast
Channel: AMD Developer Forums: Message List - 13.4 -save-temp compiler option doesn't do anything
Browsing all 12 articles
Browse latest View live

Re: 13.4 -save-temp compiler option doesn't do anything

Oups, I misspelled it in the topic title.

View Article



Re: 13.4 -save-temp compiler option doesn't do anything

Here is the exact way I tried: clBuildProgram(FProgram,1,@OwnerDevice.FDeviceId,'-save-temps='+tempDir+'\cl -fno-bin-source -fno-bin-llvmir -fno-bin-amdil',.... This builds an opencl elf wich contains...

View Article

Re: 13.4 -save-temp compiler option doesn't do anything

I asked some people, and it looks the option should work. I had checked " -save-temps " in clBuildProgram API, and could generate the intermediate files using the internal drivers on a linux machine....

View Article

Re: 13.4 -save-temp compiler option doesn't do anything

Hello, I'm saving it into a specified path: '-save-temps=c:\$ocl_tmp\cl -fno-bin-source -fno-bin-llvmir -fno-bin-amdil -fbin-exe'It ONLY FAILS when I use 13.4 AND give it an .elf with only the...

View Article

Re: 13.4 -save-temp compiler option doesn't do anything

Hi realhet,I am able to generate intermediate files using Win7 and catalyst 13.4 for APP SDK Samples. As you mentioned the save-temps option is not working when only executable section of the ELF is...

View Article


Re: 13.4 -save-temp compiler option doesn't do anything

Hi, thanks for spending your time on this! Here are the steps:0. win7 64bit, cat 13.41. Download this small test kernel -> http://x.pgy.hu/~worm/het/disasm_test.zip  /test.elf  (note this kernel is...

View Article

Re: 13.4 -save-temp compiler option doesn't do anything

Thanks for the steps. But out of curiosity, i am interested in knowing, how to create the elf file with just binary. The method i had explained was also not producing any intermediate files with 13.4...

View Article

Re: 13.4 -save-temp compiler option doesn't do anything

You can upload anything with clCreateProgram* including: - OpenCL source, .elf with only IL section in it.Then you can use clBuildProgram with the flags -fno-bin-source -fno-bin-llvmir -fno-bin-amdil...

View Article


Re: 13.4 -save-temp compiler option doesn't do anything

I reinstalled 10.12 and generated an executable only test.elf. http://x.pgy.hu/~worm/het/test_12.10_gcn.elfIf you load it with clCreatePrg() and clBuildPrg( -save-temps ) you should find this disasm in...

View Article


Image may be NSFW.
Clik here to view.

Re: 13.4 -save-temp compiler option doesn't do anything

Thanks. Will try it tomorrow

View Article

Re: 13.4 -save-temp compiler option doesn't do anything

Hi realhet,Worked on it, and i do see the issue. I will attach my code soon.Anyways I was thinking why were you trying to generate Dis-assembled files from binary only elf files?

View Article

Image may be NSFW.
Clik here to view.

Re: 13.4 -save-temp compiler option doesn't do anything

Hi and thanks! Why: My GCN ISA assembler produces binary only files and the disassembler is the best feedback on what it does. Good to see the code disassembled by an official(!) tool before I send it...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images