Class DeviceStrings

Class Documentation

class DeviceStrings

Utility for copying strings to device

Public Functions

~DeviceStrings()

Deallocates held device pointers

void registerDeviceString(const std::string &host_string)

Register a device string

const char *getDeviceString(const std::string &host_string)

Returns a device pointer to the provided string

Note

If reallocation is required, earlier pointers may be invalidated