small bug: the list devices elements in CreateContext where converted to size_t instead of long