Back to Browse

GPU L2: Computation

6.0K views
Feb 2, 2021
51:32

00:02:02.629,00:02:05.629 Nishant Prabhu me17b084: How do we know max number of threads we can use? 00:06:03.538,00:06:06.538 Nishant Prabhu me17b084: (without requiring time sharing) 00:07:08.554,00:07:11.554 Nishant Prabhu me17b084: Ok thank you sir 00:08:06.213,00:08:09.213 Nishant Prabhu me17b084: Okay sir, thanks 00:10:12.167,00:10:15.167 Nishant Prabhu me17b084: Sequence is arbitrary of execution 00:11:10.529,00:11:13.529 SANKET NEEMA cs19m055: sir can we ask to perform some threads some particular task.? using same code. 00:12:15.823,00:12:18.823 Abishek S ee18b001: what are the resources that threads share? 00:12:48.256,00:12:51.256 Piyush Avinash Chincholikar cs20m045: can u precisely explain single precision GPU and double precision GPU? 00:13:58.975,00:14:01.975 Abishek S ee18b001: ok thank your sir 00:14:07.552,00:14:10.552 Sumit Negi cs20m067: In kernel launch , 32 is number of threads, what is 1? 00:14:19.296,00:14:22.296 P Sai Venkat Kushal ee17b141: number of cores 00:15:12.485,00:15:15.485 Piyush Avinash Chincholikar cs20m045: ok thanks sir 00:23:30.315,00:23:33.315 Rishabh C S ee17b067: is a process broken up into multiple threads, or is a thread independent of processes (such as the example of checking for calls)? 00:24:59.184,00:25:02.184 SANKET NEEMA cs19m055: can multiple threads run on a core at given time? 00:24:59.684,00:25:02.684 Abishek S ee18b001: what is the difference between threads and workers? 00:25:28.823,00:25:31.823 Rishabh C S ee17b067: so basically a thread always has to have a parent process right? 00:27:18.149,00:27:21.149 Nistala Krishna Vamsi ee20s025: who is scheduling the threads in the process and can threads be schedule by os 00:27:47.985,00:27:50.985 P Sai Venkat Kushal ee17b141: what is a worker? 00:35:00.693,00:35:03.693 rahul verma: sir does thread id starts with 0?? 00:38:01.671,00:38:04.671 SANKET NEEMA cs19m055: is there any concept of sub-thread? you mention 2d thread? 00:38:29.946,00:38:32.946 Abishek S ee18b001: how do we know the threads are always assigned in x direction here? 00:38:56.498,00:38:59.498 Rishabh C S ee17b067: even I did the same, passed 'i' after putting a loop, but realized it would become sequential then 00:40:52.733,00:40:55.733 Jeswant Krishna ae17b030: so is it of form fun lt; lt; lt; z,y,x gt; gt; gt(); ? 00:41:43.457,00:41:46.457 Adhar Dua cs20s040: dim3 variable is used 00:42:02.923,00:42:05.923 Shibobrota Das cs20m059: the code we write inside __global__ void func name() gets executed by only one thread? 00:42:05.737,00:42:08.737 Pankaj Kumar Verma cs20m043: i ran this new code but it first print 96-99 and then 0-95 00:42:20.280,00:42:23.280 Banavath Tarun cs17b102: yeah same 00:43:11.968,00:43:14.968 Rishabh C S ee17b067: but how is the ordering same for both of them? There must be some reason right? 00:44:04.102,00:44:07.102 KASHYAPI SHUBHAM BHALCHANDRA mm16b027: Does the system know the thread id before calling a particular thread? Suppose we need to perform some operation on each row of an array, can we pass the row corresponding to the id of each thread instead of the passing the entire array to each thread? 00:44:44.063,00:44:47.063 KASHYAPI SHUBHAM BHALCHANDRA mm16b027: Ok Sir, thank you 00:45:00.227,00:45:03.227 Suraj Kumar Rai cs20m068: does x.x mean i*i or we are printing i only because we are printing i*i in C code 00:45:07.576,00:45:10.576 Parth S. Shah ee17b059: How is the global variable shared in the GPU? Isn't it first stored in the CPU? 00:46:15.705,00:46:18.705 P Sai Venkat Kushal ee17b141: CPU sends to GPU ig? 00:46:22.308,00:46:25.308 Rupesh Nasre.: printf("%d\n", threadIdx.x * threadIdx.x); 00:49:16.788,00:49:19.788 Rishabh C S ee17b067: I think here, we pass &a to the function, and in the function we have a[threadIdx.x] = threadIdx.x * threadIdx; Since we pass the address, don't need to return anything. 00:50:13.043,00:50:16.043 NIRANJAN KAMATH ph16b006: It says it needs an arithmetic or enum as an argument

Download

0 formats

No download links available.

GPU L2: Computation | NatokHD