I am having trouble using the ACC_NOTIFY command to see how many time the proams enters an acc region.
The following output shows my curret line of reasoning and input.
It is as follows:
[james@james Desktop]$ echo $ACC_NOTIFY
1
[james@james Desktop]$ ./first
launch kernel file=/home/james/Desktop/c1.c function=main line=43 device=0 grid=782 block=128 queue=0
100000 iterations completed
[james@james Desktop]$ pgaccelinfo
CUDA Driver Version: 5000
NVRM version: NVIDIA UNIX x86_64 Kernel Module 304.60 Sun Oct 14 20:23:00 PDT 2012
Device Number: 0
Device Name: GeForce GTX 275
Device Revision Number: 1.3
Global Memory Size: 938803200
Number of Multiprocessors: 30
Number of Cores: 240
Concurrent Copy and Execution: Yes
Total Constant Memory: 65536
Total Shared Memory per Block: 16384
Registers per Block: 16384
Warp Size: 32
Maximum Threads per Block: 512
Maximum Block Dimensions: 512, 512, 64
Maximum Grid Dimensions: 65535 x 65535 x 1
Maximum Memory Pitch: 2147483647B
Texture Alignment: 256B
Clock Rate: 1404 MHz
Execution Timeout: Yes
Integrated Device: No
Can Map Host Memory: Yes
Compute Mode: default
Concurrent Kernels: No
ECC Enabled: No
Memory Clock Rate: 1134 MHz
Memory Bus Width: 448 bits
Max Threads Per SMP: 1024
Async Engines: 1
Unified Addressing: No
Initialization time: 1793 microseconds
Current free memory: 840809728
Upload time (4MB): 1610 microseconds ( 893 ms pinned)
Download time: 2157 microseconds (1246 ms pinned)
Upload bandwidth: 2605 MB/sec (4696 MB/sec pinned)
Download bandwidth: 1944 MB/sec (3366 MB/sec pinned)
I have the ACC_NOTIFY device set to to 1 as directed in the article
PGI Accelerator Programming Model for NVIDIA GPUs Part1. The executable first is simply c1.c compled to to an executable. I have set ACC_NOTIFY to 1 as diected in the subsectio First program.
When I ran ./first I get the output but no indication of the device’s action. I also used
export ACC_NOTIFY=0.
I got the same results. What is going on?
Any help appeciated. Thanks in advance.
Newport_j