<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>thrust-users Google Group</title>
  <link>http://groups.google.com/group/thrust-users</link>
  <description>Thrust is a library of parallel algorithms with an interface resembling the C++ Standard Template Library (STL). Thrust provides a high-level interface for parallel programming while remaining both fast and flexible.</description>
  <language>en</language>
  <item>
  <title>thrust from github repository in nsight eclipse edition for linux?</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/3ea0d7ab0396d95b/917f7cdae1ef0668?show_docid=917f7cdae1ef0668</link>
  <description>
  Can somebody please explain me how to use different versions of thrust &lt;br&gt; from github repository on nsight eclipse edition for linux?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/3ea0d7ab0396d95b/917f7cdae1ef0668?show_docid=917f7cdae1ef0668</guid>
  <author>
  ruscienc...@gmail.com
  (roman)
  </author>
  <pubDate>Thu, 23 May 2013 06:06:22 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] Sorting a 2d array of integers using Thrust</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/c8e09a8ef5172678/b79fc69bfe4d33aa?show_docid=b79fc69bfe4d33aa</link>
  <description>
  What precisely do you want to achieve? What do you mean by &amp;quot;sorting a &lt;br&gt; 2d array of integers&amp;quot;? &lt;br&gt; &lt;p&gt;It&#39;s difficult to give advice because it&#39;s not clear what you want. &lt;br&gt; You&#39;ve given us an example of the input, but not an example of the &lt;br&gt; output.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/c8e09a8ef5172678/b79fc69bfe4d33aa?show_docid=b79fc69bfe4d33aa</guid>
  <author>
  jaredhober...@gmail.com
  (Jared Hoberock)
  </author>
  <pubDate>Wed, 22 May 2013 21:56:18 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] sort_by_key memory requirement?</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/e397d5ad658234b7?show_docid=e397d5ad658234b7</link>
  <description>
  To accommodate zip_iterators, radix sort has to serialize into a &lt;br&gt; temporary. That&#39;s probably where the extra storage requirement is &lt;br&gt; coming from. &lt;br&gt; &lt;p&gt;Merge sort&#39;s implementation has substantially improved recently and &lt;br&gt; doesn&#39;t have this overhead. My K20c wasn&#39;t able to successfully run &lt;br&gt; this example, but if you try the latest development version of Thrust
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/e397d5ad658234b7?show_docid=e397d5ad658234b7</guid>
  <author>
  jaredhober...@gmail.com
  (Jared Hoberock)
  </author>
  <pubDate>Wed, 22 May 2013 21:44:36 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] sort_by_key memory requirement?</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/bae67195c45c0dd5?show_docid=bae67195c45c0dd5</link>
  <description>
  Playing around with your code a bit, it does seem like thrust is actually needing about twice the originally allocated space as temporary storage.  On a 6GB card, ECC on, with about 5.6GB available, things seem to work when the initial allocation is about 1.7GB but fail at about 1.8GB. &lt;br&gt;   &lt;br&gt; The actual number may be less than this due to fragmentation, but I don&#39;t think that&#39;s the biggest factor here.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/bae67195c45c0dd5?show_docid=bae67195c45c0dd5</guid>
  <author>
  crovel...@yahoo.com
  (Robert Crovella)
  </author>
  <pubDate>Wed, 22 May 2013 21:30:02 UT
</pubDate>
  </item>
  <item>
  <title>dealing with bad_alloc</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/2c4cc578924bd8e6/54e07be11b556047?show_docid=54e07be11b556047</link>
  <description>
  What do folks do when they encounter bad_alloc (besides emailing this list :) ? &lt;br&gt; &lt;p&gt;Have people developed workaround schemes which try to gracefully forge &lt;br&gt; ahead (or fail), or is this generally a show-stopper? &lt;br&gt; &lt;p&gt;If bad_alloc is usually a show-stopper, would folks object if &lt;br&gt; algorithms which would have failed before attempt to forge ahead at
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/2c4cc578924bd8e6/54e07be11b556047?show_docid=54e07be11b556047</guid>
  <author>
  jaredhober...@gmail.com
  (Jared Hoberock)
  </author>
  <pubDate>Wed, 22 May 2013 21:07:42 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] sort_by_key memory requirement?</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/d0441c6ff48e4e81?show_docid=d0441c6ff48e4e81</link>
  <description>
  The system is reporting that there is not sufficient space. The sort &lt;br&gt; requires O(n) extra storage - the constant is unspecified. Moreover, &lt;br&gt; even if there is free space physically available, there&#39;s no guarantee &lt;br&gt; that the CUDA runtime can allocate a contiguous block large enough to &lt;br&gt; satisfy it. &lt;br&gt; &lt;p&gt;As a workaround, you might try implementing a fallback allocator along
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/d0441c6ff48e4e81?show_docid=d0441c6ff48e4e81</guid>
  <author>
  jaredhober...@gmail.com
  (Jared Hoberock)
  </author>
  <pubDate>Wed, 22 May 2013 21:03:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] sort_by_key memory requirement?</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/f6b4c67c26cf0f3a?show_docid=f6b4c67c26cf0f3a</link>
  <description>
  Thanks for your explanation. The 2GB of memory used up is simply allocation &lt;br&gt; of the above mentioned array. &lt;br&gt; Still, with the array already allocated there is 3.6GB free space which &lt;br&gt; should be more than sufficient for the ~1.8GB O(n) temporary storage. But &lt;br&gt; thrust &lt;br&gt; does throw bad_alloc. ECC only makes the total available memory 5.6GB
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/f6b4c67c26cf0f3a?show_docid=f6b4c67c26cf0f3a</guid>
  <author>
  fizban...@gmail.com
  (fizban007)
  </author>
  <pubDate>Wed, 22 May 2013 20:27:11 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] Sorting a 2d array of integers using Thrust</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/c8e09a8ef5172678/c84546af2b1f8854?show_docid=c84546af2b1f8854</link>
  <description>
  I will try to send again my thoughts on this problem because it&#39;s very &lt;br&gt; important to me and I&#39;m desperate for a solution. &lt;br&gt; &lt;p&gt;I use a row store technique for my data, so if the user gives as an input &lt;br&gt; the array &lt;br&gt; &lt;p&gt;1 2 &lt;br&gt; 2 3 &lt;br&gt; 4 3 &lt;br&gt; 3 3 &lt;br&gt; &lt;p&gt;I will store this data inside a host_vector&amp;lt;int&amp;gt; which after the 2d =&amp;gt; 1d
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/c8e09a8ef5172678/c84546af2b1f8854?show_docid=c84546af2b1f8854</guid>
  <author>
  kblues...@gmail.com
  (k1)
  </author>
  <pubDate>Wed, 22 May 2013 18:31:22 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] Worning Global Memory</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/48f746e63a1f9811/e9917d972560746b?show_docid=e9917d972560746b</link>
  <description>
  As a test, if you compile with -arch=sm_20 and the warning goes away, it can usually be safely ignored, even when your run your code compiled with the -arch=sm_13 switch. &lt;br&gt; This SO question may be of interest: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stackoverflow.com/questions/5212875/resolving-thrust-cuda-warnings-cannot-tell-what-pointer-points-to&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/48f746e63a1f9811/e9917d972560746b?show_docid=e9917d972560746b</guid>
  <author>
  crovel...@yahoo.com
  (Robert Crovella)
  </author>
  <pubDate>Wed, 22 May 2013 16:49:47 UT
</pubDate>
  </item>
  <item>
  <title>Worning Global Memory</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/48f746e63a1f9811/5a1d311bd79e0ae5?show_docid=5a1d311bd79e0ae5</link>
  <description>
  Hi Everyone, &lt;br&gt; I get a warning while compiling a code using thrust. &lt;br&gt; Warning: Cannot tell what pointer points to, assuming global memory space &lt;br&gt; I&#39;ve looked around on the web to see if anyone could have had this kind of &lt;br&gt; wornings but couldn&#39;t understand the answears. &lt;br&gt; I&#39;m using -arch=sm_13 architecture. &lt;br&gt; Does anyone knows why do I get this warning, and should I be concerned with
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/48f746e63a1f9811/5a1d311bd79e0ae5?show_docid=5a1d311bd79e0ae5</guid>
  <author>
  teresa.pietrabi...@gmail.com
  (Teresa Pietrabissa)
  </author>
  <pubDate>Wed, 22 May 2013 10:03:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] sort_by_key memory requirement?</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/c523b12e85dac3c8?show_docid=c523b12e85dac3c8</link>
  <description>
  sort by key may require up to O(n) temporary storage.  In your case I count: &lt;br&gt; 64M integers = 256MB &lt;br&gt; 3x64M doubles = 1536MB &lt;br&gt; 64M chars = 64MB or 256MB depending on how they get stored &lt;br&gt;   &lt;br&gt; Altogether you&#39;re at ~1.8GB and if you add the O(n) temporary storage you&#39;re at ~3.6GB which seems to exceed your 3.6GB available.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/c523b12e85dac3c8?show_docid=c523b12e85dac3c8</guid>
  <author>
  crovel...@yahoo.com
  (Robert Crovella)
  </author>
  <pubDate>Tue, 21 May 2013 22:52:55 UT
</pubDate>
  </item>
  <item>
  <title>sort_by_key memory requirement?</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/b4ee824f7dd79f9e?show_docid=b4ee824f7dd79f9e</link>
  <description>
  I&#39;m trying to run thrust::sort_by_key on some large key-value arrays. &lt;br&gt; Specifically my key array is 64M integers, while my values consist &lt;br&gt; of 3 arrays of 64M doubles and 1 array of 64M chars. I&#39;m trying to put all &lt;br&gt; the values together into a zip_iterator and pass it to sort_by_key &lt;br&gt; but it throws thrust::bad_alloc on my Tesla C2075 which has 6GB memory. The
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/8ff2c95043a89a6a/b4ee824f7dd79f9e?show_docid=b4ee824f7dd79f9e</guid>
  <author>
  fizban...@gmail.com
  (fizban007)
  </author>
  <pubDate>Tue, 21 May 2013 18:51:33 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] Setting Seed in Random Generator</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/eb23ae253a929f46/7bc256fd9790c045?show_docid=7bc256fd9790c045</link>
  <description>
  When you were compiling the code below, a warning is thrown on this line: &lt;br&gt;   &lt;br&gt; rng.seed(m_seed); &lt;br&gt;   &lt;br&gt; The warning is: &lt;br&gt;   &lt;br&gt; ...: warning: passing âfloatâ for argument 1 to âvoid thrust::random::linear_congrue ntial_engine&amp;lt;UIntType, a, c, m&amp;gt;::seed(UIntType) [with UIntType = unsigned int, UIntType a = 48271u, UIntType c = 0u, UIntType m = 2147483647u]â
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/eb23ae253a929f46/7bc256fd9790c045?show_docid=7bc256fd9790c045</guid>
  <author>
  crovel...@yahoo.com
  (Robert Crovella)
  </author>
  <pubDate>Tue, 21 May 2013 18:46:58 UT
</pubDate>
  </item>
  <item>
  <title>Setting Seed in Random Generator</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/eb23ae253a929f46/f2c1c981e28e59ea?show_docid=f2c1c981e28e59ea</link>
  <description>
  Hi, I am dealing with random generators using thrust library. &lt;br&gt; When I run my program the variable m_seed changes value but the sampled &lt;br&gt; values for the variable u are always the same, as if the instruction for &lt;br&gt; setting the seed didn&#39;t work out. &lt;br&gt; Does anybody knows how this works or has ever had this kind of problems
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/eb23ae253a929f46/f2c1c981e28e59ea?show_docid=f2c1c981e28e59ea</guid>
  <author>
  teresa.pietrabi...@gmail.com
  (Teresa Pietrabissa)
  </author>
  <pubDate>Tue, 21 May 2013 12:38:05 UT
</pubDate>
  </item>
  <item>
  <title>Re: [thrust-users] change in handling of sequence?</title>
  <link>http://groups.google.com/group/thrust-users/browse_thread/thread/10aa443cfc1c6437/6f848068d1a7e369?show_docid=6f848068d1a7e369</link>
  <description>
  The reason the compile fails is because &lt;br&gt; std::complex&amp;lt;double&amp;gt;::operator * [1] doesn&#39;t have an overload which &lt;br&gt; takes a long int as the scalar parameter. &lt;br&gt; &lt;p&gt;This program tries to do the same thing and fails with a similar error: &lt;br&gt; &lt;p&gt;int main() &lt;br&gt; { &lt;br&gt; std::complex&amp;lt;double&amp;gt; init, step; &lt;br&gt; &lt;p&gt; long int i;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/thrust-users/browse_thread/thread/10aa443cfc1c6437/6f848068d1a7e369?show_docid=6f848068d1a7e369</guid>
  <author>
  jaredhober...@gmail.com
  (Jared Hoberock)
  </author>
  <pubDate>Mon, 20 May 2013 20:23:03 UT
</pubDate>
  </item>
  </channel>
</rss>
