Discuss the OpenMP 4.0 Examples document.
- Posts: 2
- Joined: Thu Nov 07, 2013 6:42 am
I couldn't understand that what is the difference between target and target data? According to specifications target data create a new data environment. So what is the data environment?
- Posts: 5
- Joined: Mon Jun 17, 2013 3:02 am
The data environment is the scope in which the variables you specified in the directive is alive and valid on the device.
Basically the difference between a target directive and a target data directive directive is that the code inside the target directive scope is executed on the device, while a target data directive just say that you want some data on the device, and they will remain available only inside the scope of the directive.
- Posts: 1
- Joined: Fri Sep 18, 2015 2:33 am
In simple words, data environment is that where you can use the value. For example, if you make it public, then it can be used anywhere. If you make it private, then you can use it only that specified area.
target and target data are different in terms of values. Suppose you access target value. This
value denotes the address of the location. But, the target data denotes the actual value located in that address.
I hope you are clear now.
- Posts: 1
- Joined: Tue Feb 06, 2018 10:08 am
The difference between input and output is not strict. It subsist just in time while separating attributes that are known in the decision point from other attributes (also the target) which belong to the prediction.
Proper resources and guidance in how to do your assignments effectively, homework help online
can help you.