mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
- There was a wrong cast in Graphics Allocation constructor resulting in wrong GPU address generation in some sporadic scenarios. - Problem appears in 32 bit applications where void* address is cast to uint64_t value, if c style cast is used it makes trailing bit to be populated to higher bits constructing wrong value 0xf000000 is being casted to 0xfffffffff0000000 while it should be casted to 0x00000000f0000000 - added special cast function for further use. Change-Id: I56d53a8e13e17cbacd127566442eea3f6a089977