Compound Objects example

Hi, I am looking for an example that illustrates how to create compound objects with optix. I am looking at using boolean operators between spheres and cylinders.
Thanks for any help.