Basic target offloading tests with pointers and structs