Custom Query (27 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 27)

1 2 3 4 5 6 7 8 9
Ticket Resolution Summary Owner Reporter
#27 invalid Invalid binaries when assembling from source using .kernel .config versus .metadata matszpk NDBob95
Description

Not sure if this is a known issue or if I am missing something in the documentation. I have been experimenting with your assembler/disassembler for a project I'm working on and I'm having trouble utilizing LDS from my custom code. Here is what I am seeing:

1) I take a saved binary of my original OpenCL code which works and disassemble using "clrxdisasm --all".

2) I rebuild the binary from source as-is using "clrxasm --64 --gpuType Ellesmere" using the raw disassembler output (with binary kernel metadata and setup) and it runs fine.

3) I take the same binary and disassemble with text config using "clrxdisasm --config --all".

4) I rebuild the binary from the text config source and it does not appear to be able to access LDS --- Operations not involving LDS are returning correct answers, the CodeXL Profiler shows LDS instructions being executed, but there is no data returned by any of the LDS path operations.

5) I disassemble the second binary using "clrxdisasm --all" to compare --- the two are identical except for the .kernel section, where the ".config" based binary appears to be missing a substantial amount of configuration metadata. Both binaries disassemble to the same text based config output:

.dims x .cws 8, 8, 1 .sgprsnum 22 .vgprsnum 84 .localsize 4096 .floatmode 0xc0 .pgmrsrc1 0x00ac0094 .pgmrsrc2 0x0000088c .dx10clamp .ieeemode .useargs .priority 0 .arg _.global_offset_0, "size_t", long .arg _.global_offset_1, "size_t", long .arg _.global_offset_2, "size_t", long .arg _.printf_buffer, "size_t", void*, global, , rdonly .arg _.vqueue_pointer, "size_t", long .arg _.aqlwrap_pointer, "size_t", long .arg input, "ulong*", ulong*, global, , rdonly .arg Scratchpad, "uint4*", uint4*, global, .arg states, "ulong*", ulong*, global,

#3 fixed Support AMD OpenCL 2.0 format by assembler matszpk matszpk
Description

Add support for AMD OpenCL 2.0 binary format to assembler:

  • sections and kernel sections
  • kernels
  • kernel configuration
  • relocations
  • self-allocatable sections (.bss)
#4 fixed Documentation to AMD OpenCL 2.0 binary format support matszpk matszpk
Description

Write documentation to OpenCL 2.0 binary format support:

  • short description of the format
  • pseudo-operations
  • code examples
1 2 3 4 5 6 7 8 9
Note: See TracQuery for help on using queries.