• Is this portable code?
    Does this code port well to a 16 bit machine (written on 32 bit machine)? int code = 0x10 ; int marker = 0x20 ; unsigned long frame; int main(void) { frame = (unsigned short)~marker<<11 | (unsigned...
  • Is this portable code?
    Does this code port well to a 16 bit machine (written on 32 bit machine)? int code = 0x10 ; int marker = 0x20 ; unsigned long frame; int main(void) { frame = (unsigned short)~marker<<11 | (unsigned...
  • this is non portable code ?
    unsigned char buf[100] . . . unsigned int val; . . . val = *((unsigned int *)(&buf[1])); . . . comments?
  • this is non portable code ?
    unsigned char buf[100] . . . unsigned int val; . . . val = *((unsigned int *)(&buf[1])); . . . comments?
  • OpenCL code portability across various Mali GPUs
    I wonder how portable is OpenCL code. If I write something for T-628 MP6 will it run on T-880 etc.? For sure min. OpenCL standard must be supported by HW but what about possibly different GPU architecture...