Should data be an array of int64_t?
As is you seem to have a mismatch between the C++ array and the data type in from_blob. That would lead to funny values and might cause the device assert.
Best regards
Thomas